Pagini recente » Borderou de evaluare (job #948680) | Borderou de evaluare (job #286405) | Borderou de evaluare (job #1453522) | Borderou de evaluare (job #2393401) | Borderou de evaluare (job #1482018)
Borderou de evaluare (job #1482018)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GRAPH::Dijkstra(int, std::vector<int>&)’:
user.cpp:37:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[nod].size(); i++)
^
user.cpp:60:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<dist.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:68:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in", "r", stdin);
^
user.cpp:69:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out", "w", stdout);
^
user.cpp:71:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:78:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1060kb | OK | 5 | 5 |
| 2 | 0ms | 1064kb | OK | 5 | 5 |
| 3 | 0ms | 1076kb | OK | 5 | 5 |
| 4 | 0ms | 1068kb | OK | 5 | 5 |
| 5 | 0ms | 1088kb | OK | 5 | 5 |
| 6 | 0ms | 1080kb | OK | 5 | 10 |
| 7 | 4ms | 1072kb | OK | 5 |
| 8 | 40ms | 1320kb | OK | 5 | 15 |
| 9 | 48ms | 1584kb | OK | 5 |
| 10 | 4ms | 1080kb | OK | 5 |
| 11 | 72ms | 1584kb | OK | 5 | 20 |
| 12 | 116ms | 2724kb | OK | 5 |
| 13 | 84ms | 2244kb | OK | 5 |
| 14 | 160ms | 3292kb | OK | 5 |
| 15 | 216ms | 3760kb | OK | 5 | 15 |
| 16 | 160ms | 3160kb | OK | 5 |
| 17 | 16ms | 1076kb | OK | 5 |
| 18 | 248ms | 4008kb | Incorect | 0 | 0 |
| 19 | 304ms | 4668kb | Incorect | 0 |
| 20 | 24ms | 1096kb | OK | 5 |
| Punctaj total | 85 |