Borderou de evaluare (job #698319)

Utilizator avatar ScarlatescuRazvan ScarlatescuRazvan ScarlatescuRazvan IP ascuns
Problemă Unific (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 feb. 2023 23:26:00 Scor 22

Raport evaluator

Compilare: main.cpp: In function 'void read_vector(int, long long int*)': main.cpp:8:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | scanf("%lld", &a[i]); | ~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:155:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 155 | freopen("unific.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:156:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | freopen("unific.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:159:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | scanf("%d", &n); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 32 ms 118 kb a) corect b) incorect 1
3 1606 ms 118 kb Time limit exceeded 0
4 106 ms 245 kb a) corect b) incorect 1
5 1603 ms 770 kb Time limit exceeded 0
6 1602 ms 905 kb Time limit exceeded 0
7 1605 ms 897 kb Time limit exceeded 0
8 1602 ms 901 kb Time limit exceeded 0
9 1602 ms 897 kb Time limit exceeded 0
10 1 ms 114 kb OK 10
Punctaj total 22