Pagini recente » Borderou de evaluare (job #786130) | Borderou de evaluare (job #153) | Borderou de evaluare (job #269281) | Borderou de evaluare (job #2765820) | Borderou de evaluare (job #1912145)
Borderou de evaluare (job #1912145)
Raport evaluator
Compilare:
user.cpp: In function ‘int Dijkstra(int)’:
user.cpp:43:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<G[x].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:73:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
user.cpp:74:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
user.cpp:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:78:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&v[i]);
^
user.cpp:79:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:81:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&a,&b,&t,&w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 692kb | OK | 10 |
2 | 0ms | 672kb | OK | 10 |
3 | 0ms | 664kb | OK | 10 |
4 | 0ms | 664kb | OK | 10 |
5 | 0ms | 668kb | OK | 10 |
6 | 0ms | 640kb | OK | 10 |
7 | 0ms | 660kb | OK | 10 |
8 | 0ms | 672kb | OK | 10 |
9 | 0ms | 468kb | OK | 10 |
10 | 0ms | 660kb | OK | 10 |
Punctaj total | 100 |