Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
116176 唐诗阳 神秘数字 C++ Compile Error 0 MS 0 KB 334 2025-04-06 15:21:40

Tests(0/0):


Code:

#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;i>=a;i++){ if(i%3==2&&i%5==3&&i%7==2){ b=i; break; } } cout<<b; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:15: error: expected unqualified-id before ';' token
 long long a,b,;
               ^