Borderou de evaluare (job #303434)

Utilizator avatar teod12 Alexandrescu Teodora teod12 IP ascuns
Problemă Romb (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 21 apr. 2017 10:42:56 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d",&n); | ~~~~~~^~~~~~~~~~~~~ main.cpp:14:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%c",&ch); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:38:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fscanf(fin,"%c",&ch); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:43:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf(fin,"%c",&ch); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:58:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | fscanf(fin,"%c",&ch); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:63:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | fscanf(fin,"%c",&ch); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:68:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fscanf(fin,"%c",&ch); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:83:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | fscanf(fin,"%c",&ch); | ~~~~~~^~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 507 kb OK 10
3 1 ms 266 kb OK 10
4 1 ms 245 kb OK 10
5 589 ms 1024 kb OK 10
6 569 ms 1253 kb OK 10
7 589 ms 1228 kb OK 10
8 568 ms 1212 kb OK 10
9 669 ms 1351 kb OK 10
10 698 ms 1363 kb OK 10
Punctaj total 100