Pagini recente » Borderou de evaluare (job #2356057) | Borderou de evaluare (job #2788340) | Borderou de evaluare (job #881143) | Borderou de evaluare (job #1727940) | Borderou de evaluare (job #2443119)
Borderou de evaluare (job #2443119)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:93:61: warning: narrowing conversion of 'arrivalStation' from 'int' to 'short int' inside { } [-Wnarrowing]
Train t = Train{arrivalStation, arrivalTime, cost, 0};
^
main.cpp:93:61: warning: narrowing conversion of 'cost' from 'int' to 'short int' inside { } [-Wnarrowing]
main.cpp:101:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j < stations[i].times.size(); j++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:102:149: warning: narrowing conversion of 'i' from 'int' to 'short int' inside { } [-Wnarrowing]
stations[i].trains[stations[i].times[j - 1]].push_back(Train{i, stations[i].times[j], 0, stations[i].times[j] - stations[i].times[j - 1]});
^
main.cpp:112:42: warning: narrowing conversion of 'n' from 'int' to 'short int' inside { } [-Wnarrowing]
if(minCost.find(Position{n, t}) == minCost.end())
^
main.cpp:114:47: warning: narrowing conversion of 'n' from 'int' to 'short int' inside { } [-Wnarrowing]
mi = min(mi, minCost[Position{n, t}]);
^
main.cpp:125:38: warning: narrowing conversion of 'n' from 'int' to 'short int' inside { } [-Wnarrowing]
if(minCost.find(Position{n, t}) == minCost.end())
^
main.cpp:127:43: warning: narrowing conversion of 'n' from 'int' to 'short int' inside { } [-Wnarrowing]
mi = min(mi, minCost[Position{n, t}]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 1179kb | OK | 10 | 10 |
| 2 | 307ms | 7995kb | OK | 10 | 10 |
| 3 | 303ms | 7995kb | OK | 10 | 10 |
| 4 | 598ms | 36880kb | Memory limit exceeded | 0 | 0 |
| 5 | 581ms | 36880kb | Memory limit exceeded | 0 | 0 |
| 6 | 581ms | 36880kb | Memory limit exceeded | 0 | 0 |
| 7 | 457ms | 36880kb | Memory limit exceeded | 0 | 0 |
| 8 | 499ms | 36880kb | Memory limit exceeded | 0 |
| 9 | 508ms | 36880kb | Memory limit exceeded | 0 | 0 |
| 10 | 481ms | 36880kb | Memory limit exceeded | 0 |
| Punctaj total | 30 |