Borderou de evaluare (job #2761063)

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

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
12ms131kbOK10
24ms131kbOK10
317ms393kbOK10
434ms655kbOK10
549ms917kbOK10
668ms1179kbOK10
791ms1703kbOK10
8113ms2097kbOK10
9168ms2621kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?