Borderou de evaluare (job #2756947)

Utilizator Gabriel_DascalescuGabriel Dascalescu Gabriel_Dascalescu Data 3 iunie 2021 14:28:25
Problema Veverite Status done
Runda Junior Challenge 2021 Runda 1 Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:32: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%ld %ld", &n, &query); ^ main.cpp:15:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:18:27: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%ld", &v[i]); ^ main.cpp:22:27: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%ld", &q[i]); ^ main.cpp:43:25: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] printf("%ld ",nr); ^ 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("veverite.in","r",stdin); ^ main.cpp:14:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("veverite.out","w",stdout); ^ main.cpp:15:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld", &n, &query); ^ main.cpp:18:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &v[i]); ^ main.cpp:22:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%ld", &q[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
113ms131kbOK520
216ms131kbOK5
317ms131kbOK5
417ms131kbOK5
51003ms1048kbTime limit exceeded00
61000ms917kbTime limit exceeded0
71001ms1048kbTime limit exceeded0
81000ms917kbTime limit exceeded0
91002ms1048kbTime limit exceeded00
101000ms917kbTime limit exceeded0
111003ms1048kbTime limit exceeded0
121003ms1069kbTime limit exceeded0
131000ms917kbTime limit exceeded0
141002ms917kbTime limit exceeded0
151000ms917kbTime limit exceeded0
161001ms917kbTime limit exceeded0
171000ms917kbTime limit exceeded0
181003ms1048kbTime limit exceeded0
191003ms917kbTime limit exceeded0
201003ms1048kbTime limit exceeded0
Punctaj total20

Ceva nu functioneaza?