Pagini recente » Borderou de evaluare (job #797904) | Borderou de evaluare (job #316687) | Borderou de evaluare (job #1002006) | Borderou de evaluare (job #898013) | Borderou de evaluare (job #1284142)
Borderou de evaluare (job #1284142)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman_ford()’:
user.cpp:13:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<al[x].size();++i)
^
user.cpp:22:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<al[u].size();++j)
^
user.cpp: In function ‘int main()’:
user.cpp:97:34: 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);
^
user.cpp:98:36: 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);
^
user.cpp:100:34: 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);
^
user.cpp:101:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int u=1;u<=U;++u) scanf("%d",&t[u]);
^
user.cpp:104:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&i,&j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 5 |
2 | 0ms | 448kb | OK | 5 |
3 | 0ms | 468kb | OK | 5 |
4 | 0ms | 484kb | OK | 5 |
5 | 0ms | 488kb | OK | 5 |
6 | 0ms | 484kb | OK | 5 |
7 | 0ms | 484kb | OK | 5 |
8 | 4ms | 548kb | OK | 5 |
9 | 4ms | 544kb | OK | 5 |
10 | 8ms | 608kb | OK | 5 |
11 | 44ms | 1052kb | OK | 5 |
12 | 76ms | 1580kb | OK | 5 |
13 | 0ms | 476kb | Incorect | 0 |
14 | 4ms | 552kb | Incorect | 0 |
15 | 16ms | 716kb | OK | 5 |
16 | 20ms | 788kb | Incorect | 0 |
17 | 52ms | 1052kb | Incorect | 0 |
18 | 68ms | 1052kb | OK | 5 |
19 | 92ms | 1316kb | OK | 5 |
20 | 184ms | 1844kb | Incorect | 0 |
Punctaj total | 75 |