Borderou de evaluare (job #2761055)

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

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
13ms131kbOK10
24ms131kbOK10
317ms393kbIncorect0
434ms655kbOK10
549ms917kbOK10
668ms1441kbIncorect0
789ms1572kbOK10
8112ms2490kbIncorect0
9128ms3407kbIncorect0
102ms131kbOK10
Punctaj total60

Ceva nu functioneaza?