Borderou de evaluare (job #2761049)

Utilizator sims_glAlexandru Simion sims_gl Data 30 iunie 2021 13:10:00
Problema Inundatie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d%d", &n, &m); ^ main.cpp:12:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:17:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &x); ^ main.cpp:26:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &q); ^ main.cpp:29:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &qe); ^ main.cpp:10:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("inundatie.in", "r", stdin); ^ main.cpp:11:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("inundatie.out", "w", stdout); ^ main.cpp:12:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:17:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:26:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ main.cpp:29:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &qe); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms131kbOK10
215ms131kbOK10
3116ms524kbIncorect0
4213ms655kbOK10
5327ms917kbOK10
6403ms1441kbTime limit exceeded0
7400ms1441kbTime limit exceeded0
8400ms1835kbTime limit exceeded0
9403ms2097kbTime limit exceeded0
103ms131kbOK10
Punctaj total50

Ceva nu functioneaza?