Borderou de evaluare (job #2519329)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 7 ianuarie 2020 16:30:02
Problema Cmmdc2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d%d",&n,&k); ^ main.cpp:14:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:17:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&m); ^ main.cpp:29:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n",hmax); ^ main.cpp:33:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d ",i); ^ main.cpp:12:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc2.in","r",stdin); ^ main.cpp:13:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc2.out","w",stdout); ^ main.cpp:14:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ main.cpp:17:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1180ms8187kbOK5
2332ms8568kbOK5
3310ms8269kbOK5
4186ms8192kbIncorect0
5177ms8290kbOK5
6372ms8257kbOK5
7276ms10878kbIncorect0
8304ms9699kbIncorect0
9202ms10530kbOK5
10650ms16740kbIncorect0
11696ms16756kbIncorect0
12772ms16588kbIncorect0
13703ms16515kbIncorect0
14715ms16515kbIncorect0
15802ms16117kbTime limit exceeded0
16802ms16093kbTime limit exceeded0
17806ms16252kbTime limit exceeded0
18802ms16101kbTime limit exceeded0
19801ms10612kbTime limit exceeded0
20138ms8073kbKilled by Signal 80
Punctaj total30

Ceva nu functioneaza?