Borderou de evaluare (job #610216)

Utilizator avatar Lusian afa andrei Lusian IP ascuns
Problemă Zimeria ( Clasa a 10-a ) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 15 oct. 2021 16:44:41 Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void constr(char*)': main.cpp:14:14: warning: array subscript has type 'char' [-Wchar-subscripts] 14 | f[s[i]] = i+1; | ~~~^ main.cpp: In function 'long long int trans(char*)': main.cpp:24:20: warning: array subscript has type 'char' [-Wchar-subscripts] 24 | val = f[a[i]]; | ~~~^ main.cpp:27:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 27 | else | ^~~~ main.cpp:29:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 29 | nr *= 10; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 5
2 29 ms 520 kb OK 5
3 50 ms 913 kb OK 5
4 115 ms 1835 kb OK 5
5 237 ms 3407 kb OK 5
6 1 ms 131 kb Incorect 0
7 1 ms 258 kb Incorect 0
8 1 ms 258 kb Incorect 0
9 1 ms 258 kb Incorect 0
10 11 ms 262 kb Incorect 0
11 32 ms 393 kb Incorect 0
12 69 ms 651 kb Incorect 0
13 143 ms 901 kb Incorect 0
14 186 ms 1032 kb Incorect 0
15 275 ms 1548 kb Incorect 0
16 368 ms 1929 kb Incorect 0
17 455 ms 2179 kb Incorect 0
18 506 ms 2838 kb Time limit exceeded 0
19 509 ms 3358 kb Time limit exceeded 0
20 1 ms 131 kb OK 5
Punctaj total 30