| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78636 | 刘泽熙 | 15听到多少次掌声 | C++ | Compile Error | 0 MS | 0 KB | 187 | 2024-06-23 14:04:15 |
#include<bits/stdc++.h> using namespace std; int main(){ int sum=0; int=0; while(t<=40){ t++; if(t==1){ sum++; }else if(t==2){ sum++; } } cout<<sum; }
Main.cc: In function 'int main()':
Main.cc:5:5: error: expected unqualified-id before '=' token
int=0;
^
Main.cc:6:8: error: 't' was not declared in this scope
while(t<=40){
^