Borderou de evaluare (job #757106)

Utilizator avatar qpRares Bulgaru Rares qpRares IP ascuns
Problemă Blis (clasele 11-12) Compilator cpp-32
Rundă lmk_11_vs Status evaluat
Dată 22 ian. 2024 20:30:38 Scor 19

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] 12 | scanf("%d",&k); | ~^ ~~ | | | | | long long int* | int* | %lld main.cpp:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 15 | for(i=1;i<=n+1;i++)BST[i]=oo;BST[0]=-oo;LMAX=0; | ^~~ main.cpp:15:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 15 | for(i=1;i<=n+1;i++)BST[i]=oo;BST[0]=-oo;LMAX=0; | ^~~ main.cpp:41:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 41 | printf("%d\n%d",sol,LMAX); | ~^ ~~~ | | | | int long long int | %lld main.cpp:41:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 41 | printf("%d\n%d",sol,LMAX); | ~^ ~~~~ | | | | int long long int | %lld main.cpp:10:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | freopen("blis.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:11:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | freopen("blis.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:12:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | scanf("%d",&k); | ~~~~~^~~~~~~~~ main.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | scanf("%s",B+1); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Valoare incorecta cerinta 2 ! 1
2 1 ms 245 kb Valoare incorecta cerinta 2 ! 1
3 1 ms 245 kb Valoare incorecta cerinta 2 ! 1
4 1 ms 245 kb Valoare incorecta cerinta 2 ! 1
5 1 ms 245 kb Valoare incorecta cerinta 2 ! 1
6 1 ms 249 kb Valoare incorecta cerinta 2 ! 1
7 2 ms 249 kb Valoare incorecta cerinta 2 ! 1
8 6 ms 245 kb Valoare incorecta cerinta 2 ! 1
9 1 ms 245 kb Valoare incorecta cerinta 2 ! 1
10 1 ms 249 kb Valoare incorecta cerinta 2 ! 1
11 1 ms 249 kb Valoare incorecta cerinta 2 ! 1
12 1 ms 249 kb Valoare incorecta cerinta 2 ! 1
13 1 ms 249 kb Valoare incorecta cerinta 2 ! 1
14 9 ms 249 kb Valoare incorecta cerinta 2 ! 1
15 29 ms 245 kb Valoare incorecta cerinta 2 ! 1
16 89 ms 249 kb Valoare incorecta cerinta 2 ! 1
17 195 ms 507 kb Valoare incorecta cerinta 2 ! 1
18 519 ms 770 kb Valoare incorecta cerinta 2 ! 1
19 689 ms 1298 kb Valoare incorecta cerinta 2 ! 1
20 709 ms 1298 kb Time limit exceeded 0
Punctaj total 19