Pagini recente » Cod sursa (job #468232) | Cod sursa (job #262191) | Cod sursa (job #2157296) | Borderou de evaluare (job #2065914) | Borderou de evaluare (job #2710279)
Borderou de evaluare (job #2710279)
Raport evaluator
Compilare:
main.cpp: In function 'void parcurge(int, int, std::vector<std::vector<Nod> >&, std::vector<int>&)':
main.cpp:23:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < noduri[index].size(); i++)
~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:29: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);
^
main.cpp:30: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);
^
main.cpp:32:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
main.cpp:36:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &lg);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 21ms | 262kb | Incorect | 0 |
| 4 | 46ms | 262kb | Incorect | 0 |
| 5 | 1000ms | 1441kb | Time limit exceeded | 0 |
| 6 | 1002ms | 2359kb | Time limit exceeded | 0 |
| 7 | 1001ms | 3407kb | Time limit exceeded | 0 |
| 8 | 1003ms | 5091kb | Time limit exceeded | 0 |
| 9 | 164ms | 6815kb | OK | 10 |
| 10 | 1001ms | 10616kb | Time limit exceeded | 0 |
| Punctaj total | 10 |