Pagini recente » Borderou de evaluare (job #580376) | Borderou de evaluare (job #184748) | Borderou de evaluare (job #2607819) | Borderou de evaluare (job #718585) | Borderou de evaluare (job #1862532)
Borderou de evaluare (job #1862532)
Raport evaluator
Compilare:
user.cpp: In function ‘int Dijkstra(int)’:
user.cpp:25:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < adj[node].size(); i++){
^
user.cpp:23:17: warning: unused variable ‘lng’ [-Wunused-variable]
int lng = heap.top().first;
^
user.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:36:47: 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:37:49: 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:41:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:45:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &price);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1208kb | OK | 10 |
2 | 0ms | 1208kb | OK | 10 |
3 | 0ms | 1236kb | OK | 10 |
4 | 4ms | 1248kb | OK | 10 |
5 | 20ms | 1520kb | OK | 10 |
6 | 44ms | 1848kb | OK | 10 |
7 | 56ms | 1944kb | OK | 10 |
8 | Depăşit | 3020kb | Time limit exceeded. | 0 |
9 | 92ms | 2332kb | Incorect | 0 |
10 | 276ms | 4952kb | Incorect | 0 |
Punctaj total | 70 |