Pagini recente » Borderou de evaluare (job #3029010) | Borderou de evaluare (job #867004) | Borderou de evaluare (job #235229) | Borderou de evaluare (job #2212781) | Borderou de evaluare (job #2945867)
Borderou de evaluare (job #2945867)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
52 | auto [costNod, startConsumNod, restConsum, nodCurr] = PQ.top();
| ^
main.cpp:65:169: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
65 | if(restConsum >= nextConsum && (minCost[nextNod][startConsumNod].first > costNod + nextCost || minCost[nextNod][startConsumNod].first == costNod + nextCost && minCost[nextNod][startConsumNod].second < restConsum - nextConsum)) {
main.cpp:82:31: warning: 'ansConsum' may be used uninitialized in this function [-Wmaybe-uninitialized]
82 | fout << ansCost << ' ' << ansConsum;
| ^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 5ms | 839kb | OK | 10 |
| 2 | 10ms | 1368kb | OK | 10 |
| 3 | 7ms | 1359kb | OK | 10 |
| 4 | 0ms | 184kb | OK | 10 |
| 5 | 5ms | 1101kb | OK | 10 |
| 6 | 7ms | 1228kb | OK | 10 |
| 7 | 3ms | 970kb | OK | 10 |
| 8 | 1ms | 184kb | OK | 10 |
| 9 | 0ms | 184kb | Incorect | 0 |
| 10 | 0ms | 184kb | OK | 10 |
| Punctaj total | 90 |