Pagini recente »
Borderou de evaluare (job #15937)
|
Borderou de evaluare (job #10987)
|
Borderou de evaluare (job #811570)
|
Borderou de evaluare (job #530095)
|
Borderou de evaluare (job #696695)
Borderou de evaluare (job #696695)
Raport evaluator
Compilare:
main.cpp: In function 'int get_date(std::string)':
main.cpp:40:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
40 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
main.cpp:42:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
42 | while(isdigit(s[i]) && i < s.size()){
| ~~^~~~~~~~~~
main.cpp:48:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
48 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
main.cpp:50:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
50 | while(isletter(s[i]) && i < s.size()){
| ~~^~~~~~~~~~
main.cpp:57:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
57 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
main.cpp:59:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
59 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
main.cpp:60:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
60 | while(isdigit(s[i]) && i < s.size()){
| ~~^~~~~~~~~~
main.cpp:65:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
65 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
main.cpp:67:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
67 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
main.cpp:68:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
68 | while(isdigit(s[i]) && i < s.size()){
| ~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:85:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
85 | for(int i = 0; i < pos; i++){
| ~~^~~~~
main.cpp:88:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
88 | for(int i = pos+1; i < str.size(); i++){
| ~~^~~~~~~~~~~~
main.cpp: In function 'int get_month(std::string)':
main.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
24 | }
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
5
|
2
|
1 ms
|
114 kb
|
Incorect
|
0
|
3
|
1 ms
|
118 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
OK
|
5
|
5
|
1 ms
|
118 kb
|
Incorect
|
0
|
6
|
1 ms
|
118 kb
|
Incorect
|
0
|
7
|
1 ms
|
118 kb
|
OK
|
5
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
118 kb
|
Incorect
|
0
|
10
|
13 ms
|
237 kb
|
OK
|
5
|
11
|
10 ms
|
118 kb
|
Incorect
|
0
|
12
|
8 ms
|
118 kb
|
Incorect
|
0
|
13
|
8 ms
|
110 kb
|
OK
|
5
|
14
|
1 ms
|
118 kb
|
Incorect
|
0
|
15
|
1 ms
|
118 kb
|
Incorect
|
0
|
16
|
1 ms
|
118 kb
|
Incorect
|
0
|
17
|
9 ms
|
118 kb
|
Incorect
|
0
|
18
|
10 ms
|
245 kb
|
Incorect
|
0
|
19
|
10 ms
|
245 kb
|
Incorect
|
0
|
20
|
10 ms
|
118 kb
|
Incorect
|
0
|
Punctaj total
|
25
|