Borderou de evaluare (job #718485)

Utilizator avatar Laza_Andrei Lazarescu Andrei Vlad Laza_Andrei IP ascuns
Problemă Trei cifre consecutive Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 mai 2023 19:37:17 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | freopen("treicc.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:50:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | freopen("treicc.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:52:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | scanf("%d%d", &n, &q); | ~~~~~^~~~~~~~~~~~~~~~ main.cpp:54:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | scanf("%d", &ord[i]); | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb OK 10
2 5 ms 245 kb OK 10
3 4 ms 245 kb OK 10
4 6 ms 245 kb OK 10
5 6 ms 245 kb OK 10
6 13 ms 245 kb OK 10
7 13 ms 245 kb OK 10
8 137 ms 245 kb OK 10
9 144 ms 245 kb OK 10
10 713 ms 249 kb Time limit exceeded 0
Punctaj total 90