Borderou de evaluare (job #776739)

Utilizator avatar popescu_george Popescu George popescu_george IP ascuns
Problemă Siruri1 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 1 mai 2024 12:23:41 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:7:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | fscanf(F,"%d",&n); | ~~~~~~^~~~~~~~~~~ main.cpp:8:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | for(int i=0;i<n;fscanf(F,"%d",&p[i++])); | ~~~~~~^~~~~~~~~~~~~~~~
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 245 kb OK 10
4 2 ms 122 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 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100