Borderou de evaluare (job #757103)

Utilizator avatar qpRares Bulgaru Rares qpRares IP ascuns
Problemă Blis (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 ian. 2024 20:27:15 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 17 | for(i=1;i<=n+1;i++)BST[i]=oo;BST[0]=-1; | ^~~ main.cpp:17:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17 | for(i=1;i<=n+1;i++)BST[i]=oo;BST[0]=-1; | ^~~ main.cpp:14:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | freopen("blis.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:15:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | freopen("blis.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:16:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | scanf("%d%s",&k,B+1);n=strlen(B+1); | ~~~~~^~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 1298 kb Te stii ! 5
2 1 ms 1294 kb Te stii ! 5
3 1 ms 1294 kb Te stii ! 5
4 9 ms 1556 kb Te stii ! 5
5 9 ms 1552 kb Te stii ! 5
6 2 ms 1560 kb Te stii ! 5
7 9 ms 1556 kb Te stii ! 5
8 9 ms 1552 kb Te stii ! 5
9 1 ms 1556 kb Te stii ! 5
10 9 ms 1556 kb Te stii ! 5
11 9 ms 1556 kb Te stii ! 5
12 9 ms 1556 kb Te stii ! 5
13 9 ms 1560 kb Te stii ! 5
14 9 ms 1556 kb Te stii ! 5
15 39 ms 2076 kb Te stii ! 5
16 108 ms 4182 kb Te stii ! 5
17 259 ms 5742 kb Te stii ! 5
18 658 ms 15183 kb Te stii ! 5
19 709 ms 14143 kb Time limit exceeded 0
20 709 ms 16760 kb Time limit exceeded 0
Punctaj total 90