Borderou de evaluare (job #579196)

Utilizator avatar andrei_marciuc Marciuc Andrei andrei_marciuc IP ascuns
Problemă Combat Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 ian. 2021 10:29:24 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 17 | fscanf( fin, "%lld%lld%lld", &no_ship, &base_x, &base_y ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:19:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 19 | fscanf( fin, "%lld %lld", &ship[ i ].y, &ship[ i ].x ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 262 kb OK 10 20
2 1 ms 262 kb OK 10
3 1 ms 262 kb OK 10 30
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb OK 10 10
7 1 ms 262 kb OK 10 10
8 1 ms 262 kb OK 10 10
9 1 ms 262 kb OK 10 10
10 1 ms 262 kb OK 10 10
Punctaj total 100