Borderou de evaluare (job #2921364)
Utilizator | Data | 30 august 2022 14:34:29 | |
---|---|---|---|
Problema | Zero | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5: warning: ignoring '#pragma warning ' [-Wunknown-pragmas]
5 | #pragma warning(disable:4996)
|
main.cpp: In function 'int main()':
main.cpp:14:18: error: 'pow' was not declared in this scope
14 | for (int i = pow(10, l - 1); i < pow(10, l); i++)
| ^~~
main.cpp:25:13: error: 'itoa' was not declared in this scope
25 | itoa(i, s, 10);
| ^~~~
main.cpp:36:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
36 | while (j < strlen(v[i]))
| ~~^~~~~~~~~~~~~~
main.cpp:38:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
38 | while (v[i][j] != '0' && j < strlen(v[i]))
| ~~^~~~~~~~~~~~~~
main.cpp:41:40: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
41 | while (v[i][t] == '0' && p < strlen(v[i]))
| ~~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !