Pagini recente » Borderou de evaluare (job #98359) | Borderou de evaluare (job #2455379) | Borderou de evaluare (job #537547) | Borderou de evaluare (job #892663) | Borderou de evaluare (job #2203371)
Borderou de evaluare (job #2203371)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra()’:
user.cpp:36:7: warning: unused variable ‘dist’ [-Wunused-variable]
int dist = h.begin()->first;
^~~~
user.cpp:26:6: warning: unused variable ‘ma’ [-Wunused-variable]
int ma = inf;
^~
user.cpp: In function ‘void read()’:
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:61:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &length);
^
user.cpp: In function ‘int main()’:
user.cpp:76:36: 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);
^
user.cpp:77:38: 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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1912kb | OK | 10 |
2 | 0ms | 1908kb | OK | 10 |
3 | 0ms | 1932kb | OK | 10 |
4 | 4ms | 1948kb | OK | 10 |
5 | 24ms | 2276kb | OK | 10 |
6 | 52ms | 2616kb | OK | 10 |
7 | 64ms | 2784kb | OK | 10 |
8 | 160ms | 3712kb | OK | 10 |
9 | 100ms | 3220kb | OK | 10 |
10 | 336ms | 5656kb | OK | 10 |
Punctaj total | 100 |