Borderou de evaluare (job #683668)

Utilizator avatar kylobit Mocanu Bogdan kylobit IP ascuns
Problemă Drenaj (clasa a 10-a) Compilator cpp-32
Rundă lasm_21_12_2022_cl12 Status evaluat
Dată 21 dec. 2022 19:43:06 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | freopen("drenaj.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:26:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | freopen("drenaj.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:30:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | scanf("%d%d",&N,&M); | ~~~~~^~~~~~~~~~~~~~ main.cpp:32:34: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | for(j=1; j<=M; j++) scanf("%d",&A[i][j]); | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 110 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 1 ms 114 kb OK 5
6 1 ms 114 kb OK 5
7 1 ms 114 kb OK 5
8 1 ms 241 kb OK 5
9 1 ms 118 kb OK 5
10 1 ms 114 kb OK 5
11 1 ms 114 kb OK 5
12 1 ms 114 kb OK 5
13 1 ms 118 kb OK 5
14 11 ms 237 kb OK 5
15 1 ms 118 kb OK 5
16 1 ms 118 kb OK 5
17 1 ms 118 kb OK 5
18 10 ms 245 kb OK 5
19 1 ms 114 kb OK 5
20 7 ms 245 kb OK 5
Punctaj total 100