Borderou de evaluare (job #589317)

Utilizator avatar AlexandruTBileca Alexandru Bileca AlexandruTBileca IP ascuns
Problemă Cript (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 mar. 2021 17:33:31 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void codific(char, int*)': main.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 31 | for (int i = 0; i < 7; ++i) | ^~~ main.cpp:45:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 45 | for (int i = 0; i < 7; ++i) | ^~~ main.cpp:20:40: warning: unused variable 'k' [-Wunused-variable] 20 | int x = c, a[10][10], nr[10], aux, k; | ^ main.cpp: In function 'int main()': main.cpp:90:34: warning: array subscript has type 'char' [-Wchar-subscripts] 90 | fout << codif[s[i]][j]; | ~~~^ main.cpp:81:14: warning: unused variable 'codul' [-Wunused-variable] 81 | char codul[10]; | ^~~~~ main.cpp: In function 'char decodific(int*)': main.cpp:70:1: warning: control reaches end of non-void function [-Wreturn-type] 70 | } | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 15 ms 393 kb OK 5
2 42 ms 389 kb OK 5
3 1 ms 262 kb OK 5
4 52 ms 385 kb OK 5
5 50 ms 385 kb OK 5
6 1 ms 262 kb OK 5
7 1 ms 262 kb OK 5
8 1 ms 262 kb OK 5
9 1 ms 389 kb OK 5
10 10 ms 393 kb OK 5
11 1 ms 389 kb OK 5
12 9 ms 389 kb OK 5
13 30 ms 520 kb OK 5
14 42 ms 655 kb OK 5
15 39 ms 520 kb OK 5
16 1 ms 262 kb OK 5
17 1 ms 262 kb OK 5
18 21 ms 524 kb OK 5
19 14 ms 393 kb OK 5
20 16 ms 389 kb OK 5
Punctaj total 100