Borderou de evaluare (job #614920)

Utilizator avatar andreipirjol Andrei Pirjol Comanescu andreipirjol IP ascuns
Problemă Alee (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 nov. 2021 11:12:47 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | fscanf(fin, "%d%d", &n, &m) ; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:32:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(fin, "%d%d", &l , &c) ; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:43:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf(fin, "%d%d", &xs, &ys) ; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:44:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 44 | fscanf(fin , "%d%d" , &xf , &yf) ; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 1 ms 131 kb OK 10
5 1 ms 253 kb OK 10
6 1 ms 258 kb OK 10
7 1 ms 258 kb OK 10
8 1 ms 262 kb OK 10
9 1 ms 258 kb OK 10
10 1 ms 258 kb OK 10
Punctaj total 100