| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133361 | 田祥江 | 校门外的树 | C++ | Compile Error | 0 MS | 0 KB | 322 | 2025-10-18 15:52:46 |
#include<bits/stdc++.h> using namespace std; int shu[10005] int main(){ int l,m,le,ri,sum=0; cin>>l>>m>>le>>ri; for(int i=0;i<=l;i++){ shu[i]=1; } whilt(m--){ cin>>il<<ri; for(int j=lt;j=ri;j++){ shu[j]=0; } } for(int i=0;i<=l;i++){ if(shu[i]==1)sum++; } cout<<sum; return 0; }
Main.cc:4:1: error: expected initializer before 'int'
int main(){
^