Borderou de evaluare (job #2519339)

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

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
1359ms8126kbOK5
2346ms8519kbOK5
3340ms8257kbOK5
4303ms8126kbKilled by Signal 80
5345ms8388kbOK5
6367ms8257kbOK5
7238ms10878kbOK5
8276ms9728kbKilled by Signal 80
9278ms10485kbOK5
10574ms16777kbOK5
11652ms16887kbOK5
12654ms16777kbOK5
13740ms16809kbOK5
14801ms16908kbTime limit exceeded0
15800ms16338kbTime limit exceeded0
16800ms16252kbTime limit exceeded0
17801ms16515kbTime limit exceeded0
18800ms16121kbTime limit exceeded0
19801ms16252kbTime limit exceeded0
20348ms8126kbKilled by Signal 80
Punctaj total55

Ceva nu functioneaza?