Pagini recente » Cod sursa (job #698403) | Borderou de evaluare (job #3157521) | Borderou de evaluare (job #1755471) | Cod sursa (job #23345) | Borderou de evaluare (job #2310806)
Borderou de evaluare (job #2310806)
Raport evaluator
Compilare:
main.cpp: In function 'bool bfs()':
main.cpp:45:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[u].size(); i++) {
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:100:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[u].size(); i++) {
~~^~~~~~~~~~~~~~~~~
main.cpp:134:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < edge.size(); i++) {
~~^~~~~~~~~~~~~
main.cpp:77:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.in", "r", stdin);
^
main.cpp:78:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("atac2.out", "w", stdout);
^
main.cpp:79:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &u, &x);
^
main.cpp:81:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
main.cpp:84:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 393kb | OK | 5 |
| 2 | 3ms | 393kb | Incorect | 0 |
| 3 | 3ms | 393kb | Incorect | 0 |
| 4 | 4ms | 393kb | Incorect | 0 |
| 5 | 4ms | 393kb | Incorect | 0 |
| 6 | 5ms | 393kb | Incorect | 0 |
| 7 | 5ms | 393kb | Incorect | 0 |
| 8 | 8ms | 524kb | Incorect | 0 |
| 9 | 8ms | 524kb | Incorect | 0 |
| 10 | 12ms | 655kb | Incorect | 0 |
| 11 | 59ms | 1572kb | Incorect | 0 |
| 12 | 111ms | 2359kb | Incorect | 0 |
| 13 | 3ms | 524kb | Incorect | 0 |
| 14 | 14ms | 655kb | Incorect | 0 |
| 15 | 23ms | 1048kb | Incorect | 0 |
| 16 | 33ms | 1179kb | Incorect | 0 |
| 17 | 74ms | 1966kb | Incorect | 0 |
| 18 | 102ms | 2887kb | Incorect | 0 |
| 19 | 126ms | 3407kb | Incorect | 0 |
| 20 | 255ms | 4993kb | Incorect | 0 |
| Punctaj total | 5 |