Borderou de evaluare (job #777220)

Utilizator avatar Blaugranas Enal Gemaledin Blaugranas IP ascuns
Problemă Url Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 mai 2024 18:30:24 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:65: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 11 | if(a=b=c=d=e=f="",p=0,o=1,q=0,i=s.find_first_of("://"),i==string::npos) | ~^~~~~~~~~~~~~~ main.cpp:13:57: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 13 | else if(a=s.substr(0,i),k=s.find_first_of("@"),k!=string::npos) | ~^~~~~~~~~~~~~~ main.cpp:14:44: 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 | if(j=s.find_first_of(":",i+3),j==string::npos||j>=k) | ~^~~~~~~~~~~~~~ main.cpp:15:94: 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 | b=s.substr(i+3,k-i-3),l=s.find_first_of(":",k+1),t=s.find_first_of("/",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)); | ~^~~~~~~~~~~~~~ main.cpp:15:110: 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 | b=s.substr(i+3,k-i-3),l=s.find_first_of(":",k+1),t=s.find_first_of("/",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)); | ~^~~~~~~~~~~~~~ main.cpp:15:178: 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 | b=s.substr(i+3,k-i-3),l=s.find_first_of(":",k+1),t=s.find_first_of("/",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)); | ~^~~~~~~~~~~~~~ main.cpp:17:116: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 17 | b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l=s.find_first_of(":",k+1),t=s.find_first_of("/",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)); | ~^~~~~~~~~~~~~~ main.cpp:17:132: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 17 | b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l=s.find_first_of(":",k+1),t=s.find_first_of("/",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)); | ~^~~~~~~~~~~~~~ main.cpp:17:200: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 17 | b=s.substr(i+3,j-i-3),c=s.substr(j+1,k-j-1),l=s.find_first_of(":",k+1),t=s.find_first_of("/",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)); | ~^~~~~~~~~~~~~~ main.cpp:19:68: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 19 | l=s.find_first_of(":",i+3),t=s.find_first_of("/",i+3),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:19:84: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 19 | l=s.find_first_of(":",i+3),t=s.find_first_of("/",i+3),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:19:152: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 19 | l=s.find_first_of(":",i+3),t=s.find_first_of("/",i+3),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:24: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] 24 | if(o&&(g!=b||(b==""&&k!=string::npos))) | ~^~~~~~~~~~~~~~ main.cpp:27: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] 27 | if(o&&(g!=c||(c==""&&j!=string::npos&&j<k))) | ~^~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 3 ms 503 kb OK 10
2 1 ms 507 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 266 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 241 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100