Borderou de evaluare (job #822325)

Utilizator avatar Blaugranas Enal Gemaledin Blaugranas IP ascuns
Problemă Url Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 mai 2025 21:15:50 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:42: 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,b="",c="",d="",e="",f="",i==string::npos) | ~^~~~~~~~~~~~~~ main.cpp:15:29: 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 | if(a=s.substr(0,i),k!=string::npos) { | ~^~~~~~~~~~~~~~ main.cpp:17:14: 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 | 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))); | ~^~~~~~~~~~~~~~ main.cpp:17:58: 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 | 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))); | ~^~~~~~~~~~~~~~ main.cpp:17:74: 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 | 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))); | ~^~~~~~~~~~~~~~ main.cpp:17:142: 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 | 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))); | ~^~~~~~~~~~~~~~ main.cpp:17:301: 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 | 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))); | ~^~~~~~~~~~~~~~ main.cpp:17:317: 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 | 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))); | ~^~~~~~~~~~~~~~ main.cpp:17:385: 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 | 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))); | ~^~~~~~~~~~~~~~ main.cpp:20:14: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 20 | 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:20:30: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 20 | 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:20:98: warning: comparison of integer expressions of different signedness: 'int' and 'const std::__cxx11::basic_string<char>::size_type' {aka 'const unsigned int'} [-Wsign-compare] 20 | 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:28: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] 28 | if(g!=b||(b==""&&k!=string::npos)) | ~^~~~~~~~~~~~~~ main.cpp:32: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] 32 | if(g!=c||(c==""&&j!=string::npos&&j<k)) | ~^~~~~~~~~~~~~~ main.cpp:11:13: warning: unused variable 'p' [-Wunused-variable] 11 | int p=0,i=s.find("://"); | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
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 Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 60