Pagini recente »
Profil PalamidaUsturoi
|
Borderou de evaluare (job #128140)
|
Borderou de evaluare (job #766056)
|
Borderou de evaluare (job #848023)
|
Borderou de evaluare (job #822336)
Borderou de evaluare (job #822336)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:17: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
12 | if(o=0,i==string::npos)
| ~^~~~~~~~~~~~~~
main.cpp:14:59: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
14 | int j=s.find(":",i+3),k=s.find("@"),l=s.find(":",k!=string::npos?k+1:i+3),t=s.find("/",i+3),p=0;
| ~^~~~~~~~~~~~~~
main.cpp:15:31: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:47: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:91: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:107: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:175: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:334: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:350: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:418: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:533: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:549: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:15:617: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
15 | g="",a=s.substr(0,i),k!=string::npos?j==string::npos||j>=k?b=s.substr(i+3,k-i-3),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t)):(b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l==string::npos?t!=string::npos?d=s.substr(k+1,t-k-1),f=s.substr(t):d=s.substr(k+1):t==string::npos?d=s.substr(k+1,l-k-1),e=s.substr(l+1):(d=s.substr(k+1,l-k-1),e=s.substr(l+1,t-l-1),f=s.substr(t))):l==string::npos?t!=string::npos?d=s.substr(i+3,t-i-3),f=s.substr(t):d=s.substr(i+3):t==string::npos?d=s.substr(i+3,l-i-3),e=s.substr(l+1):(d=s.substr(i+3,l-i-3),e=s.substr(l+1,t-l-1),f=s.substr(t));
| ~^~~~~~~~~~~~~~
main.cpp:21:27: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
21 | if(g!=b||(b==""&&k!=string::npos))
| ~^~~~~~~~~~~~~~
main.cpp:25:27: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare]
25 | if(g!=c||(c==""&&j!=string::npos&&j<k))
| ~^~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
507 kb
|
OK
|
10
|
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
|
8
|
1 ms
|
266 kb
|
OK
|
10
|
|
9
|
1 ms
|
245 kb
|
OK
|
10
|
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
|
Punctaj total
|
90
|