Borderou de evaluare (job #777650)

Utilizator avatar popescu_george Popescu George popescu_george IP ascuns
Problemă Nrtri (clasele 7/8) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 15 mai 2024 06:40:00 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(f,"%d",&n); | ~~~~~~^~~~~~~~~~~ main.cpp:10:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | for(int i=0;i<n;fscanf(f,"%hu",&a[i++])); | ~~~~~~^~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 249 kb OK 10
9 1 ms 249 kb OK 10
10 1 ms 249 kb OK 10
Punctaj total 100