Borderou de evaluare (job #691402)

Utilizator avatar andrei81 Ragman Andrei Adrian andrei81 IP ascuns
Problemă Capitala Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 ian. 2023 20:45:59 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:16:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | freopen("capitala.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:17:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | freopen("capitala.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:18:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ main.cpp:22:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | scanf("%d %d", &a, &b); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:56:24: warning: 'nrmaxx' may be used uninitialized in this function [-Wmaybe-uninitialized] 56 | for ( int i = 1; i <= nrmaxx; i++ ) | ~~^~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 1429 kb OK 10
2 1 ms 1429 kb OK 10
3 13 ms 1556 kb OK 10
4 8 ms 1429 kb OK 10
5 60 ms 1949 kb OK 10
6 55 ms 1949 kb OK 10
7 148 ms 3260 kb OK 10
8 146 ms 2871 kb OK 10
9 204 ms 4042 kb Time limit exceeded 0
10 200 ms 3391 kb Time limit exceeded 0
Punctaj total 80