Pagini recente » Borderou de evaluare (job #2601721) | Borderou de evaluare (job #2319105) | Borderou de evaluare (job #2986925) | Borderou de evaluare (job #2844734) | Borderou de evaluare (job #2083974)
Borderou de evaluare (job #2083974)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:22: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31) -1
^
user.cpp:73:32: note: in expansion of macro ‘INF’
for(int i=1;i<=n;++i) d[i]=INF;
^
user.cpp:78:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();++i)
^
user.cpp:4:22: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31) -1
^
user.cpp:91:20: note: in expansion of macro ‘INF’
if(d[i] != INF) printf("%d ",d[i]);
^
user.cpp:64:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in","r",stdin);
^
user.cpp:65:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out","w",stdout);
^
user.cpp:66: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:70:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 844kb | Time limit exceeded. | 0 | 0 |
2 | 0ms | 864kb | Incorect | 0 | 0 |
3 | 0ms | 868kb | OK | 5 | 5 |
4 | 0ms | 860kb | OK | 5 | 5 |
5 | 0ms | 880kb | OK | 5 | 5 |
6 | 0ms | 868kb | OK | 5 | 0 |
7 | Depăşit | 852kb | Time limit exceeded. | 0 |
8 | 20ms | 1260kb | OK | 5 | 0 |
9 | 48ms | 1628kb | OK | 5 |
10 | Depăşit | 868kb | Time limit exceeded. | 0 |
11 | 36ms | 1568kb | OK | 5 | 20 |
12 | 108ms | 2528kb | OK | 5 |
13 | 80ms | 2084kb | OK | 5 |
14 | 148ms | 3132kb | OK | 5 |
15 | 192ms | 3596kb | OK | 5 | 0 |
16 | 148ms | 3012kb | OK | 5 |
17 | Depăşit | 864kb | Time limit exceeded. | 0 |
18 | 224ms | 3788kb | OK | 5 | 0 |
19 | 268ms | 4588kb | OK | 5 |
20 | Depăşit | 876kb | Time limit exceeded. | 0 |
Punctaj total | 35 |