Pagini recente » Borderou de evaluare (job #853040) | Borderou de evaluare (job #440904) | Borderou de evaluare (job #2898143) | Borderou de evaluare (job #158407) | Borderou de evaluare (job #2795715)
Borderou de evaluare (job #2795715)
Raport evaluator
Compilare:
main.cpp: In function 'int solve(std::string)':
main.cpp:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int i = 0; i < s.length(); i++)
| ~~^~~~~~~~~~~~
main.cpp:50:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | while(i < s.length() && isdigit(s[i]))
| ~~^~~~~~~~~~~~
main.cpp: In function 'int calcul(int, int, char)':
main.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type]
30 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 1ms | 184kb | OK | 10 |
5 | 1ms | 184kb | OK | 10 |
6 | 2ms | 184kb | OK | 10 |
7 | 2ms | 184kb | OK | 10 |
8 | 1ms | 184kb | OK | 10 |
9 | 1ms | 184kb | OK | 10 |
10 | 1ms | 184kb | OK | 10 |
Punctaj total | 100 |