Pagini recente » Borderou de evaluare (job #1908932) | Borderou de evaluare (job #1908899) | Borderou de evaluare (job #2840961)
Borderou de evaluare (job #2840961)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i = 0, pos = 2; i < s.size(); i ++, pos ++) {
| ~~^~~~~~~~~~
main.cpp:13:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int j = i + pos; j < s.size(); j += pos) {
| ~~^~~~~~~~~~
main.cpp:19:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int j = i + pos; j < s.size(); j += pos)
| ~~^~~~~~~~~~
main.cpp:25:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int j = i + pos; j < s.size(); j += pos) {
| ~~^~~~~~~~~~
main.cpp:35:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i = 0; i < s.size(); i ++)
| ~~^~~~~~~~~~
main.cpp:35:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
35 | for(int i = 0; i < s.size(); i ++)
| ^~~
main.cpp:37:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
37 | fout << count << '\n';
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 188kb | OK | 5 |
2 | 2ms | 184kb | OK | 5 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | OK | 5 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | OK | 5 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | OK | 5 |
9 | 6ms | 393kb | Incorect | 0 |
10 | 11ms | 544kb | Incorect | 0 |
11 | 39ms | 1286kb | Incorect | 0 |
12 | 78ms | 2048kb | OK | 5 |
13 | 64ms | 1654kb | OK | 5 |
14 | 73ms | 2310kb | Incorect | 0 |
15 | 44ms | 1916kb | Incorect | 0 |
16 | 73ms | 1523kb | Incorect | 0 |
17 | 88ms | 2310kb | Incorect | 0 |
18 | 93ms | 1392kb | Incorect | 0 |
19 | 83ms | 1523kb | Incorect | 0 |
20 | 78ms | 1523kb | Incorect | 0 |
Punctaj total | 35 |