Borderou de evaluare (job #2659604)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 17 octombrie 2020 11:00:53
Problema Invazie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:52:19: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%ld",&t); ^ main.cpp:55:35: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%ld%ld%ld",&k,&p,&n); ^ main.cpp:55:35: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:55:35: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:60:31: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] printf("%ld\n",a[0][0]); ^ main.cpp:49:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("invazie.in","r",stdin); ^ main.cpp:50:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("invazie.out","w",stdout); ^ main.cpp:52:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t); ^ main.cpp:55:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&k,&p,&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK10
23ms131kbOK10
31000ms131kbTime limit exceeded0
41003ms131kbTime limit exceeded0
51003ms131kbTime limit exceeded0
61000ms131kbTime limit exceeded0
71003ms131kbTime limit exceeded0
81000ms131kbTime limit exceeded0
91002ms131kbTime limit exceeded0
101003ms131kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?