Borderou de evaluare (job #2423670)
Utilizator | Data | 21 mai 2019 20:28:22 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:19:1: error: 'mt19937' does not name a type
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
^~~~~~~
main.cpp: In function 'long long int rand_seed()':
main.cpp:21:23: error: 'rng' was not declared in this scope
long long a = rng();
^
main.cpp: In function 'int main()':
main.cpp:70:13: warning: unused variable 'st' [-Wunused-variable]
int n,i,st,dr,k,x,y,t;
^~
main.cpp:70:16: warning: unused variable 'dr' [-Wunused-variable]
int n,i,st,dr,k,x,y,t;
^~
main.cpp:68:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in","r",stdin);
^
main.cpp:69:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out","w",stdout);
^
main.cpp:71:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:72:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; i++) scanf("%d",&v[i]);
^
main.cpp:75:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&t,&x,&y);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !