Pagini recente »
Borderou de evaluare (job #670531)
Borderou de evaluare (job #670531)
Raport evaluator
Compilare:
main.cpp: In function 'int read()':
main.cpp:21:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
21 | while( i < s.size() && isdigit( s[i] ) ) {
| ~~^~~~~~~~~~
main.cpp:25:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
25 | while( i < s.size() && !isalnum( s[i] ) )
| ~~^~~~~~~~~~
main.cpp:28:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
28 | while( i < s.size() && isalpha( s[i] ) )
| ~~^~~~~~~~~~
main.cpp:30:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
30 | while( i < s.size() && !isalnum( s[i] ) )
| ~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:72:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
72 | while( i < s.size() )
| ~~^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
1032 kb
|
OK
|
5
|
2
|
7 ms
|
1167 kb
|
OK
|
5
|
3
|
1 ms
|
1032 kb
|
Incorect
|
0
|
4
|
1 ms
|
1163 kb
|
OK
|
5
|
5
|
1 ms
|
1167 kb
|
OK
|
5
|
6
|
1 ms
|
1163 kb
|
Incorect
|
0
|
7
|
1 ms
|
1167 kb
|
Incorect
|
0
|
8
|
1 ms
|
1163 kb
|
Incorect
|
0
|
9
|
10 ms
|
1290 kb
|
Incorect
|
0
|
10
|
1 ms
|
770 kb
|
Incorect
|
0
|
11
|
11 ms
|
1159 kb
|
Incorect
|
0
|
12
|
12 ms
|
1163 kb
|
Incorect
|
0
|
13
|
9 ms
|
1163 kb
|
Incorect
|
0
|
14
|
1 ms
|
901 kb
|
Incorect
|
0
|
15
|
1 ms
|
901 kb
|
Incorect
|
0
|
16
|
11 ms
|
1159 kb
|
Incorect
|
0
|
17
|
7 ms
|
1167 kb
|
Incorect
|
0
|
18
|
12 ms
|
1159 kb
|
Incorect
|
0
|
19
|
1 ms
|
512 kb
|
Incorect
|
0
|
20
|
10 ms
|
1159 kb
|
Incorect
|
0
|
Punctaj total
|
20
|