Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
840 A班-过懿萱 水果批发 C++ 通过 100 1 MS 260 KB 246 2024-11-30 10:46:14

Tests(2/2):


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


测评信息: