Pagini recente » Cod sursa (job #1754977) | Borderou de evaluare (job #1684854) | Borderou de evaluare (job #858521) | Borderou de evaluare (job #1185054) | Borderou de evaluare (job #1678651)
Borderou de evaluare (job #1678651)
Raport evaluator
Compilare:
user.cpp: In function ‘bool dijkstra()’:
user.cpp:36:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[act].size(); i ++) {
^
user.cpp: In function ‘bool bellmanFord()’:
user.cpp:82:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[act].size(); i ++) {
^
user.cpp: In function ‘int main()’:
user.cpp:109:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d %d", &n, &m, &s, &d);
^
user.cpp:111:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &x, &y);
^
user.cpp:112:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &c[x][y], &cost[x][y]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 468kb | OK | 10 | 10 |
| 2 | 0ms | 480kb | OK | 10 | 10 |
| 3 | 0ms | 592kb | OK | 10 | 10 |
| 4 | 0ms | 588kb | OK | 10 | 10 |
| 5 | 0ms | 584kb | OK | 10 | 10 |
| 6 | 208ms | 1096kb | OK | 10 | 20 |
| 7 | 216ms | 1108kb | OK | 10 |
| 8 | Depăşit | 1512kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 1508kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1516kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |