Pagini recente » Borderou de evaluare (job #3277483) | Borderou de evaluare (job #1158103) | Borderou de evaluare (job #1009872) | Borderou de evaluare (job #3212859) | Borderou de evaluare (job #3157142)
Borderou de evaluare (job #3157142)
Raport evaluator
Compilare:
In lambda function,
inlined from 'void solve()' at main.cpp:58:6:
main.cpp:28:15: warning: 'other' may be used uninitialized [-Wmaybe-uninitialized]
28 | dist[start] = 1, q.push(start);
| ^
main.cpp: In function 'void solve()':
main.cpp:49:42: note: 'other' was declared here
49 | int sum = dist[opposing], lines, cols, other;
| ^~~~~
main.cpp:59:37: warning: 'cols' may be used uninitialized [-Wmaybe-uninitialized]
59 | vector<vector<int>> puzzle(lines, vector<int>(cols));
| ^~~~~~~~~~~~~~~~~
main.cpp:49:36: note: 'cols' was declared here
49 | int sum = dist[opposing], lines, cols, other;
| ^~~~
main.cpp:62:42: warning: 'lines' may be used uninitialized [-Wmaybe-uninitialized]
62 | int c = (dist[i] + dist_other[i] - 1 - lines) / 2;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.cpp:49:29: note: 'lines' was declared here
49 | int sum = dist[opposing], lines, cols, other;
| ^~~~~
main.cpp:52:28: warning: 'corner' may be used uninitialized [-Wmaybe-uninitialized]
52 | if (adj[i].size() == 2 && i != corner && dist[i] != sum) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:19:7: note: 'corner' was declared here
19 | int corner;
| ^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 68ms | 66715kb | Memory limit exceeded | 0 | 0 |
2 | 69ms | 66826kb | Memory limit exceeded | 0 |
3 | 74ms | 7593kb | OK | 10 |
4 | 0ms | 303kb | OK | 10 |
5 | 94ms | 9101kb | OK | 10 |
6 | 89ms | 7335kb | OK | 10 |
7 | 93ms | 7634kb | OK | 10 |
8 | 79ms | 6438kb | OK | 10 |
9 | 79ms | 6434kb | OK | 10 |
10 | 3ms | 557kb | OK | 10 |
Punctaj total | 0 |