Borderou de evaluare (job #769256)

Utilizator avatar adrianb Badan Adrian adrianb IP ascuns
Problemă Competitie Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 mar. 2024 18:23:07 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void input()': main.cpp:38:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | scanf("%d%d",&k,&n); | ~~~~~^~~~~~~~~~~~~~ main.cpp:41:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | scanf("%d%d",&s[i],&p[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~ 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("competitie.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("competitie.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 3 ms 270 kb Wall time limit exceeded 0
3 39 ms 270 kb Killed by Signal 11 0
4 3 ms 249 kb Wall time limit exceeded 0
5 3 ms 249 kb Wall time limit exceeded 0
6 3 ms 249 kb Wall time limit exceeded 0
7 4 ms 270 kb Wall time limit exceeded 0
8 4 ms 270 kb Wall time limit exceeded 0
9 4 ms 249 kb Wall time limit exceeded 0
10 3 ms 249 kb Wall time limit exceeded 0
Punctaj total 10