Pagini recente » Borderou de evaluare (job #2927751) | Cod sursa (job #394792) | Borderou de evaluare (job #840945) | Borderou de evaluare (job #2749) | Borderou de evaluare (job #2853166)
Borderou de evaluare (job #2853166)
Raport evaluator
Compilare:
main.cpp: In function 'int nr_transformari(char*)':
main.cpp:13:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (int i = 0; i < strlen(s); i++)
| ~~^~~~~~~~~~~
main.cpp: In function 'int formare_nr(char*, int&)':
main.cpp:23:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (f = poz; f < strlen(s); f++)
| ~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int i = 0; i < strlen(s); i++)
| ~~^~~~~~~~~~~
main.cpp:54:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (j = i + 1; j < strlen(s); j++)
| ~~^~~~~~~~~~~
main.cpp:75:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
75 | for (h = i + 1; h < strlen(s); h++)
| ~~^~~~~~~~~~~
main.cpp:86:47: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
86 | for (w = h + 1; w < strlen(s); w++)
| ~~^~~~~~~~~~~
main.cpp:36:9: warning: unused variable 'f' [-Wunused-variable]
36 | int f, p, nr;
| ^
main.cpp:36:12: warning: unused variable 'p' [-Wunused-variable]
36 | int f, p, nr;
| ^
main.cpp:36:15: warning: unused variable 'nr' [-Wunused-variable]
36 | int f, p, nr;
| ^~
main.cpp:97:24: warning: 'w' may be used uninitialized in this function [-Wmaybe-uninitialized]
97 | if (s[h] == ']') break;
| ~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | Corect ! | 5 |
| 2 | 2ms | 184kb | Corect ! | 5 |
| 3 | 2ms | 184kb | Corect 1) ! | 1 |
| 4 | 2ms | 184kb | Corect 1) ! | 1 |
| 5 | 2ms | 184kb | Corect 1) ! | 1 |
| 6 | 2ms | 184kb | Corect 1) ! | 1 |
| 7 | 2ms | 184kb | Corect 1) ! | 1 |
| 8 | 2ms | 184kb | Corect 1) ! | 1 |
| 9 | 2ms | 184kb | Incorect ! | 0 |
| 10 | 2ms | 184kb | Incorect ! | 0 |
| 11 | 2ms | 184kb | Corect 1) ! | 1 |
| 12 | 2ms | 184kb | Incorect ! | 0 |
| 13 | 2ms | 184kb | Corect 1) ! | 1 |
| 14 | 2ms | 184kb | Incorect ! | 0 |
| 15 | 2ms | 184kb | Incorect ! | 0 |
| 16 | 2ms | 184kb | Incorect ! | 0 |
| 17 | 2ms | 184kb | Incorect ! | 0 |
| 18 | 2ms | 184kb | Incorect ! | 0 |
| 19 | 2ms | 184kb | Incorect ! | 0 |
| 20 | 2ms | 184kb | Incorect ! | 0 |
| Punctaj total | 18 |