Pagini recente » Borderou de evaluare (job #1591698) | Borderou de evaluare (job #770067) | Borderou de evaluare (job #364566) | Borderou de evaluare (job #2887331) | Borderou de evaluare (job #1635861)
Borderou de evaluare (job #1635861)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, a, b, c, u, v;
^
user.cpp:32:24: warning: unused variable ‘v’ [-Wunused-variable]
int i, j, a, b, c, u, v;
^
user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:38:99: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= m; i++) scanf("%d%d%d", &a, &b, &c), graph[a - 1].push_back(make_pair(b - 1, c));//graph[b-1].push_back(make_pair(a-1, c));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 488kb | OK | 10 |
4 | 0ms | 508kb | OK | 10 |
5 | 20ms | 780kb | OK | 10 |
6 | 44ms | 1292kb | OK | 10 |
7 | 56ms | 1564kb | OK | 10 |
8 | 72ms | 1836kb | OK | 10 |
9 | 208ms | 4104kb | OK | 10 |
10 | 268ms | 5204kb | OK | 10 |
Punctaj total | 100 |