Pagini recente » Borderou de evaluare (job #2477012) | Borderou de evaluare (job #1324334) | Borderou de evaluare (job #253242) | Borderou de evaluare (job #1709947) | Borderou de evaluare (job #1913344)
Borderou de evaluare (job #1913344)
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:37: 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:65:39: 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);
^
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 |
1 | 0ms | 860kb | OK | 10 |
2 | 0ms | 868kb | OK | 10 |
3 | 0ms | 896kb | OK | 10 |
4 | 0ms | 908kb | OK | 10 |
5 | 20ms | 1232kb | OK | 10 |
6 | 48ms | 1552kb | OK | 10 |
7 | 60ms | 1784kb | OK | 10 |
8 | Depăşit | 2800kb | Time limit exceeded. | 0 |
9 | 88ms | 2260kb | OK | 10 |
10 | 292ms | 4556kb | OK | 10 |
Punctaj total | 90 |