Pagini recente »
Borderou de evaluare (job #805106)
|
Borderou de evaluare (job #302725)
|
Borderou de evaluare (job #795332)
|
Borderou de evaluare (job #132605)
|
Borderou de evaluare (job #696694)
Borderou de evaluare (job #696694)
Raport evaluator
Compilare:
main.cpp: In function 'int get_date(std::string)':
main.cpp:38:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
38 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
main.cpp:40:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
40 | while(isdigit(s[i]) && i < s.size()){
| ~~^~~~~~~~~~
main.cpp:46:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
46 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
main.cpp:48:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
48 | while(isletter(s[i]) && i < s.size()){
| ~~^~~~~~~~~~
main.cpp:55:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
55 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
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:58:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
58 | while(isdigit(s[i]) && i < s.size()){
| ~~^~~~~~~~~~
main.cpp:63:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
63 | while(s[i] == ' ' && i < s.size()){ i++; }
| ~~^~~~~~~~~~
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:66:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
66 | while(isdigit(s[i]) && i < s.size()){
| ~~^~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:83:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
83 | for(int i = 0; i < pos; i++){
| ~~^~~~~
main.cpp:86:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
86 | for(int i = pos+1; i < str.size(); i++){
| ~~^~~~~~~~~~~~
main.cpp: In function 'int get_month(std::string)':
main.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
22 | }
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
110 kb
|
OK
|
5
|
2
|
1 ms
|
118 kb
|
Incorect
|
0
|
3
|
1 ms
|
118 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
OK
|
5
|
5
|
2 ms
|
118 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 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
|
11 ms
|
114 kb
|
OK
|
5
|
11
|
1 ms
|
118 kb
|
Incorect
|
0
|
12
|
14 ms
|
114 kb
|
Incorect
|
0
|
13
|
9 ms
|
114 kb
|
OK
|
5
|
14
|
9 ms
|
118 kb
|
Incorect
|
0
|
15
|
1 ms
|
118 kb
|
Incorect
|
0
|
16
|
1 ms
|
118 kb
|
Incorect
|
0
|
17
|
9 ms
|
114 kb
|
Incorect
|
0
|
18
|
1 ms
|
118 kb
|
Incorect
|
0
|
19
|
1 ms
|
118 kb
|
Incorect
|
0
|
20
|
1 ms
|
118 kb
|
Incorect
|
0
|
Punctaj total
|
25
|