| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 39263 | yuzhengxun | 校门外的树 | C++ | Compile Error | 0 MS | 0 KB | 274 | 2024-01-31 15:49:41 |
#include<bits/stdc++.h> using namespace std; int main() { int c=0,a[10001]={0},l,m; cin>>l>>m; ehile(n--){ int l,r;; cin>>l>>r; for(int i=l;i<=r;i++){ a[i]=1; } } for(int i=0;i<=l;i++){ if(a[i]==0){ c++; } } cout<<c; return 0; }