Borderou de evaluare (job #687226)

Utilizator avatar demetriad-dagpag David Demetriad demetriad-dagpag IP ascuns
Problemă Permutări1 (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 ian. 2023 15:44:25 Scor 55

Raport evaluator

Compilare: main.cpp: In function 'void bkt(int, int)': main.cpp:17:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | scanf("%d", &x); | ~~~~~^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:38:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | freopen("permutari1.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:39:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | freopen("permutari1.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:40:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ main.cpp:41:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | scanf("%d", &x); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 1 ms 114 kb OK 5
4 1 ms 114 kb OK 5
5 40 ms 118 kb OK 5
6 9 ms 110 kb OK 5
7 12 ms 114 kb OK 5
8 42 ms 114 kb OK 5
9 48 ms 118 kb OK 5
10 357 ms 118 kb Time limit exceeded 0
11 354 ms 118 kb Time limit exceeded 0
12 352 ms 118 kb Time limit exceeded 0
13 352 ms 118 kb Time limit exceeded 0
14 357 ms 118 kb Time limit exceeded 0
15 62 ms 118 kb OK 5
16 66 ms 114 kb OK 5
17 350 ms 118 kb Time limit exceeded 0
18 354 ms 118 kb Time limit exceeded 0
19 358 ms 118 kb Time limit exceeded 0
20 350 ms 118 kb Time limit exceeded 0
Punctaj total 55