Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
839 A班-许锘林 水果批发 C++ 通过 100 0 MS 264 KB 242 2024-11-30 10:45:34

Tests(2/2):


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


测评信息: