Borderou de evaluare (job #579151)

Utilizator avatar Maftei_Andrei Maftei Andrei Iulian Maftei_Andrei IP ascuns
Problemă Fotografie (clasele 9-10) Compilator cpp-32 | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 21 ian. 2021 19:58:52 Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 14 | freopen("fotografie.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:15:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] 15 | freopen("fotografie.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 18 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp:23:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 23 | scanf(" %c ",&mat1[i][j] ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:28:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 28 | scanf("%d%d",&N,&M ); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:33:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 33 | scanf(" %c ",&mat2[i][j] ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10
4 25 ms 2355 kb OK 10
5 57 ms 3534 kb OK 10
6 83 ms 4112 kb Memory limit exceeded 0
7 108 ms 786 kb Time limit exceeded 0
8 104 ms 782 kb Time limit exceeded 0
9 102 ms 782 kb Time limit exceeded 0
10 103 ms 782 kb Time limit exceeded 0
Punctaj total 50