Borderou de evaluare (job #2840960)
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:31:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i = 0; i < s.size(); i ++)
| ~~^~~~~~~~~~
main.cpp:31:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
31 | for(int i = 0; i < s.size(); i ++)
| ^~~
main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
33 | fout << count << '\n';
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | 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 | 1ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | OK | 5 |
9 | 6ms | 462kb | Incorect | 0 |
10 | 11ms | 593kb | Incorect | 0 |
11 | 35ms | 802kb | Incorect | 0 |
12 | 78ms | 1392kb | OK | 5 |
13 | 69ms | 2342kb | OK | 5 |
14 | 69ms | 1724kb | Incorect | 0 |
15 | 44ms | 2179kb | Incorect | 0 |
16 | 73ms | 1916kb | Incorect | 0 |
17 | 83ms | 2310kb | Incorect | 0 |
18 | 83ms | 1523kb | Incorect | 0 |
19 | 83ms | 2048kb | Incorect | 0 |
20 | 78ms | 1523kb | Incorect | 0 |
Punctaj total | 35 |