Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
140425 张文浩 15听到多少次掌声 C++ Compile Error 0 MS 0 KB 285 2025-12-14 12:10:09

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int qw=0,xm=0,xj=0,i=0,num=0; while(qw+xm+xj<30){ if(a<10){ qw++; num++; } if(i%2==0){ xm++; num++; if(i%4==0){ xj++; num++; } } } cout<<num; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:6: error: 'a' was not declared in this scope
   if(a<10){
      ^