Pagini recente » Borderou de evaluare (job #3163818) | Cod sursa (job #11955) | Cod sursa (job #1753716) | Viteze | Borderou de evaluare (job #2971092)
Borderou de evaluare (job #2971092)
Raport evaluator
Compilare:
main.cpp:23:50: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
23 | const int NMAX = 2 * 16005, MOD = 1e9 + 7, INF = 1e18;
| ^~~~
main.cpp: In function 'void dijkstra()':
main.cpp:54:26: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)len) + s1.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
54 | pq.push({len + s1.length(), dif + s1.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:54:45: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)dif) + s1.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
54 | pq.push({len + s1.length(), dif + s1.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:55:26: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)len) + s1.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
55 | pq.push({len + s1.length(), dif - s1.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:55:45: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)dif) - s1.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
55 | pq.push({len + s1.length(), dif - s1.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:57:26: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)len) + s2.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
57 | pq.push({len + s2.length(), dif + s2.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:57:45: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)dif) + s2.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
57 | pq.push({len + s2.length(), dif + s2.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:58:26: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)len) + s2.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
58 | pq.push({len + s2.length(), dif - s2.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:58:45: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)dif) - s2.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
58 | pq.push({len + s2.length(), dif - s2.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:60:26: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)len) + s3.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
60 | pq.push({len + s3.length(), dif + s3.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:60:45: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)dif) + s3.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
60 | pq.push({len + s3.length(), dif + s3.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:61:26: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)len) + s3.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
61 | pq.push({len + s3.length(), dif - s3.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:61:45: warning: narrowing conversion of '(((std::__cxx11::basic_string<char>::size_type)dif) - s3.std::__cxx11::basic_string<char>::length())' from 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
61 | pq.push({len + s3.length(), dif - s3.length()});
| ~~~~^~~~~~~~~~~~~
main.cpp:40:9: warning: unused variable 'cnt' [-Wunused-variable]
40 | int cnt = 0;
| ^~~
main.cpp: In function 'void solution()':
main.cpp:75:38: warning: narrowing conversion of '(((((ui)x) - i) - 1) - i)' from 'ui' {aka 'unsigned int'} to 'int' [-Wnarrowing]
75 | pq.push({x, (x - i - 1) - i});
| ~~~~~~~~~~~~^~~
main.cpp:84:38: warning: narrowing conversion of '(((((ui)x) - i) - 1) - i)' from 'ui' {aka 'unsigned int'} to 'int' [-Wnarrowing]
84 | pq.push({x, (x - i - 1) - i});
| ~~~~~~~~~~~~^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 48ms | 4321kb | OK | 5 |
| 2 | 40ms | 3014kb | OK | 5 |
| 3 | 43ms | 2953kb | OK | 5 |
| 4 | 43ms | 3076kb | OK | 5 |
| 5 | 55ms | 3158kb | OK | 5 |
| 6 | 55ms | 3084kb | OK | 5 |
| 7 | 69ms | 3469kb | OK | 5 |
| 8 | 64ms | 3534kb | OK | 5 |
| 9 | 60ms | 3264kb | OK | 5 |
| 10 | 43ms | 5128kb | OK | 5 |
| 11 | 60ms | 3534kb | OK | 5 |
| 12 | 49ms | 5173kb | OK | 5 |
| 13 | 63ms | 5218kb | OK | 5 |
| 14 | 45ms | 3657kb | OK | 5 |
| 15 | 64ms | 5136kb | OK | 5 |
| 16 | 73ms | 5140kb | OK | 5 |
| 17 | 71ms | 5156kb | OK | 5 |
| 18 | 74ms | 5128kb | OK | 5 |
| 19 | 80ms | 5095kb | OK | 5 |
| 20 | 44ms | 3633kb | OK | 5 |
| Punctaj total | 100 |