Pagini recente » Borderou de evaluare (job #3098993) | Borderou de evaluare (job #2994293) | Borderou de evaluare (job #2673597) | Borderou de evaluare (job #634415) | Borderou de evaluare (job #2010410)
Borderou de evaluare (job #2010410)
Raport evaluator
Compilare:
user.cpp: In function ‘void Dijkstra()’:
user.cpp:44:13: warning: unused variable ‘cost’ [-Wunused-variable]
int cost = -Q.top().first;
^
user.cpp: In function ‘void Read()’:
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:28:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &nod1, &nod2, &cost);
^
user.cpp: In function ‘int main()’:
user.cpp:60:39: 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:61:41: 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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1232kb | OK | 10 |
| 2 | 0ms | 1228kb | OK | 10 |
| 3 | 0ms | 1272kb | OK | 10 |
| 4 | 4ms | 1284kb | OK | 10 |
| 5 | 20ms | 1596kb | OK | 10 |
| 6 | 44ms | 1940kb | OK | 10 |
| 7 | 60ms | 2088kb | OK | 10 |
| 8 | Depăşit | 3236kb | Time limit exceeded. | 0 |
| 9 | 96ms | 2372kb | OK | 10 |
| 10 | 288ms | 5176kb | OK | 10 |
| Punctaj total | 90 |