Pagini recente » Borderou de evaluare (job #3300944) | Atasamentele paginii Profil Tuduce_Robert | Borderou de evaluare (job #60143) | Borderou de evaluare (job #199175) | Borderou de evaluare (job #3300941)
Borderou de evaluare (job #3300941)
Raport evaluator
Compilare:
main.cpp: In function 'bool e_cerc(std::vector<short int>&)':
main.cpp:59:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i = 0; i < v.size(); i++){
| ~~^~~~~~~~~~
main.cpp:60:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int j = i + 1; j < v.size(); j++){
| ~~^~~~~~~~~~
main.cpp: In function 'void conex(int, int, bool)':
main.cpp:91:24: warning: loop variable 'x' of type 'const shr&' {aka 'const short int&'} binds to a temporary constructed from type 'int' [-Wrange-loop-construct]
91 | for(const shr &x : g_check[nod]){
| ^
main.cpp:91:24: note: use non-reference type 'const shr' {aka 'const short int'} to make the copy explicit or 'const int&' to prevent copying
main.cpp: In function 'int bkt(int)':
main.cpp:107:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:111:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:112:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | for(int j = i + 1; j < comp[idx].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:123:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
123 | for(int i = 0; i < comp[idx].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:128:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
128 | for(int i = 0; i < comp[idx].size(); i++) m[i] = 0;
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:132:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<short int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
132 | if(cate[0] == comp[idx].size() - cnt1 && cate[1] == cnt1) sol++;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:166:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<short int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
166 | for(int i = 0; i < comp.size(); i++){
| ~~^~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 20 |
| 2 | 117ms | 119980kb | OK | 20 |
| 3 | 93ms | 117747kb | OK | 20 |
| 4 | 1002ms | 115572kb | Time limit exceeded | 0 |
| 5 | 97ms | 118067kb | OK | 20 |
| Punctaj total | 80 |