Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
844 A班-岑思熠 水果批发 C++ 通过 100 1 MS 264 KB 177 2024-11-30 10:47:39

Tests(2/2):


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


测评信息: