Borderou de evaluare (job #1733265)
Raport evaluator
Compilare:
user.cpp: In function ‘bool dijkstra(int)’:
user.cpp:98:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void citire()’:
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, &k);
^
user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tmp1);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:39:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &tmp1, &tmp2, &tmp3, &tmp4);
^
user.cpp: In function ‘int main()’:
user.cpp:125:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in", "r", stdin);
^
user.cpp:126:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | Incorect | 0 |
2 | 4ms | 460kb | Incorect | 0 |
3 | 0ms | 460kb | Incorect | 0 |
4 | 0ms | 456kb | Incorect | 0 |
5 | 4ms | 460kb | Incorect | 0 |
6 | 0ms | 456kb | Incorect | 0 |
7 | 0ms | 448kb | Incorect | 0 |
8 | 0ms | 448kb | Incorect | 0 |
9 | 0ms | 440kb | Incorect | 0 |
10 | 0ms | 440kb | Incorect | 0 |
Punctaj total | 0 |