Borderou de evaluare (job #776500)

Utilizator avatar antoniogrosu Antonio Grosu antoniogrosu IP ascuns
Problemă Ecuatie2 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 28 apr. 2024 14:14:47 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 11 | for (int i = 0; i < strlen(ecuatie); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:23:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 23 | for (int j = i + 1; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:34:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 34 | for (j = 2; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:40:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 40 | for (j = j + 1; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:49:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 49 | for (j = 0; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:55:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 55 | for (j = j + 2; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:67:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 67 | for (j = 2; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:73:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 73 | for (j = j + 1; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:82:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 82 | for (j = 0; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:88:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 88 | for (j = j + 3; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:96:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 96 | for (j = j + 2; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:102:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 102 | for (j = j + 1; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:111:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 111 | for (j = 0; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:117:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 117 | for (j = j + 3; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:127:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 127 | for (j = 2; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:133:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 133 | for (j = j + 1; j < strlen(ecuatie); j++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:106:17: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 2 ms 245 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 507 kb OK 5
9 1 ms 245 kb OK 5
10 1 ms 245 kb OK 5
11 1 ms 245 kb OK 5
12 1 ms 245 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 2 ms 245 kb OK 5
16 1 ms 245 kb OK 5
17 2 ms 507 kb OK 5
18 1 ms 245 kb OK 5
19 1 ms 245 kb OK 5
20 2 ms 245 kb OK 5
Punctaj total 100