Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164466 王垚植 【基础题】服装销售 C++ Accepted 1 MS 272 KB 207 2026-11-03 19:13:06

Tests(4/4):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,sum; cin>>n; if (n>100){ sum=n*50; } else{ sum=n*80; } cout<<sum<<endl; return 0; }