Pagini recente » Borderou de evaluare (job #2485789) | Borderou de evaluare (job #3268273) | Borderou de evaluare (job #2702853) | Borderou de evaluare (job #1316138) | Borderou de evaluare (job #1678648)
Borderou de evaluare (job #1678648)
Raport evaluator
Compilare:
user.cpp: In function ‘bool dijkstra()’:
user.cpp:35:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[act].size(); i ++) {
^
user.cpp:31:13: warning: unused variable ‘kost’ [-Wunused-variable]
int kost = pq.top().first;
^
user.cpp: In function ‘bool bellmanFord()’:
user.cpp:81: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:108: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:110: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:111: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 | 476kb | OK | 10 | 10 |
| 2 | 0ms | 480kb | OK | 10 | 10 |
| 3 | 0ms | 592kb | OK | 10 | 10 |
| 4 | 0ms | 588kb | OK | 10 | 10 |
| 5 | 0ms | 592kb | OK | 10 | 10 |
| 6 | 528ms | 1100kb | OK | 10 | 20 |
| 7 | 544ms | 1104kb | OK | 10 |
| 8 | Depăşit | 1516kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 1508kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1516kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |