Pagini recente » Borderou de evaluare (job #1732299) | Borderou de evaluare (job #565862) | Borderou de evaluare (job #3244445) | Borderou de evaluare (job #2722457) | Borderou de evaluare (job #1913321)
Borderou de evaluare (job #1913321)
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:72:32: note: in expansion of macro ‘INF’
for(int i=1;i<=n;++i) d[i]=INF;
^
user.cpp:77: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:90:20: note: in expansion of macro ‘INF’
if(d[i] != INF) printf("%d ",d[i]);
^
user.cpp:63: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:64: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:65: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:69: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 | 868kb | OK | 10 |
2 | 0ms | 868kb | OK | 10 |
3 | 0ms | 896kb | OK | 10 |
4 | 0ms | 904kb | OK | 10 |
5 | 20ms | 1232kb | OK | 10 |
6 | 44ms | 1544kb | OK | 10 |
7 | 60ms | 1788kb | OK | 10 |
8 | Depăşit | 2808kb | Time limit exceeded. | 0 |
9 | 92ms | 2260kb | OK | 10 |
10 | 288ms | 4556kb | OK | 10 |
Punctaj total | 90 |