Borderou de evaluare (job #698313)

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 22:16:54 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void read_vector(int, long long unsigned int*)': main.cpp:8:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | scanf("%llu", &a[i]); | ~~~~~^~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:47:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | freopen("unific.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:48:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | freopen("unific.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:51:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | scanf("%d", &n); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb a) corect b) incorect 1
2 1 ms 114 kb a) corect b) incorect 1
3 1 ms 118 kb a) corect b) incorect 1
4 8 ms 241 kb a) corect b) incorect 1
5 63 ms 765 kb a) corect b) incorect 1
6 114 ms 897 kb a) corect b) incorect 1
7 84 ms 901 kb a) corect b) incorect 1
8 101 ms 905 kb a) corect b) incorect 1
9 98 ms 905 kb a) corect b) incorect 1
10 1 ms 114 kb a) corect b) incorect 1
Punctaj total 10