Pagini recente » Borderou de evaluare (job #2024247) | Borderou de evaluare (job #2246985) | Borderou de evaluare (job #1818150) | Borderou de evaluare (job #1154310) | Borderou de evaluare (job #1570400)
Borderou de evaluare (job #1570400)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &prieten[i]);
^
user.cpp: In function ‘int dijkstra(int, int)’:
user.cpp:96:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < Time[x].size(); ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:37:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &K);
^
user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &prieten[i]);
^
user.cpp:42:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:44:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &a, &b, &c, &d);
^
user.cpp: In function ‘int dijkstra(int, int)’:
user.cpp:102:18: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (prieten[y])
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 764kb | OK | 10 |
2 | 88ms | 920kb | Incorect | 0 |
3 | 0ms | 740kb | OK | 10 |
4 | Depăşit | 816kb | Time limit exceeded. | 0 |
5 | Depăşit | 928kb | Time limit exceeded. | 0 |
6 | Depăşit | 1176kb | Time limit exceeded. | 0 |
7 | Depăşit | 912kb | Time limit exceeded. | 0 |
8 | 0ms | 744kb | OK | 10 |
9 | 0ms | 716kb | OK | 10 |
10 | 16ms | 772kb | Incorect | 0 |
Punctaj total | 40 |