| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 116183 | 唐诗阳 | 神秘数字 | C++ | Compile Error | 0 MS | 0 KB | 333 | 2025-04-06 15:25:02 |
#include<iostream> #include<cstdio> //scanf()\printf() #include<cstring> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ long long a,b,; cin>>a; for(int i=a+1;i>a;i++){ if(i%3==2 && i%5==3 && i%7==2){ cout<<i; break; } } return 0; }
Main.cc: In function 'int main()':
Main.cc:7:15: error: expected unqualified-id before ';' token
long long a,b,;
^
Main.cc:7:13: warning: unused variable 'b' [-Wunused-variable]
long long a,b,;
^