Pagini recente » Borderou de evaluare (job #334990) | Borderou de evaluare (job #2630124) | Borderou de evaluare (job #1970789) | Borderou de evaluare (job #805063) | Borderou de evaluare (job #2439747)
Borderou de evaluare (job #2439747)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:30:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[u.x].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("ubuntzei.in", "r",stdin);
^
main.cpp:42:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.out", "w",stdout);
^
main.cpp:44:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
main.cpp:46:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:52:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
main.cpp:73:49: warning: 'jj' may be used uninitialized in this function [-Wmaybe-uninitialized]
dp[j][i+(1<<j)]=minn+dijk[jj+1][oras[j+1]];
~~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 131kb | OK | 5 |
4 | 2ms | 262kb | OK | 5 |
5 | 2ms | 262kb | Incorect | 0 |
6 | 3ms | 262kb | Incorect | 0 |
7 | 4ms | 262kb | Incorect | 0 |
8 | 4ms | 262kb | Incorect | 0 |
9 | 7ms | 393kb | Incorect | 0 |
10 | 9ms | 524kb | Incorect | 0 |
11 | 20ms | 655kb | Incorect | 0 |
12 | 18ms | 655kb | Incorect | 0 |
13 | 54ms | 1179kb | Incorect | 0 |
14 | 163ms | 2228kb | Incorect | 0 |
15 | 303ms | 2621kb | Time limit exceeded | 0 |
16 | 300ms | 2621kb | Time limit exceeded | 0 |
17 | 303ms | 2621kb | Time limit exceeded | 0 |
18 | 300ms | 2621kb | Time limit exceeded | 0 |
19 | 303ms | 3702kb | Time limit exceeded | 0 |
20 | 2ms | 131kb | OK | 5 |
Punctaj total | 25 |