Pagini recente » Borderou de evaluare (job #1708937) | Borderou de evaluare (job #252849) | Borderou de evaluare (job #1866215) | Borderou de evaluare (job #1440904) | Borderou de evaluare (job #1913305)
Borderou de evaluare (job #1913305)
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:70:32: note: in expansion of macro ‘INF’
for(int i=1;i<=n;++i) d[i]=INF;
^
user.cpp:75: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:88:20: note: in expansion of macro ‘INF’
if(d[i] != INF) printf("%d ",d[i]);
^
user.cpp:61: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:62: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:63: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:67: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 | 864kb | OK | 10 |
2 | 0ms | 864kb | OK | 10 |
3 | 0ms | 896kb | OK | 10 |
4 | 4ms | 904kb | OK | 10 |
5 | 184ms | 1228kb | OK | 10 |
6 | Depăşit | 1528kb | Time limit exceeded. | 0 |
7 | Depăşit | 1768kb | Time limit exceeded. | 0 |
8 | 336ms | 2716kb | OK | 10 |
9 | 168ms | 2256kb | OK | 10 |
10 | Depăşit | 4580kb | Time limit exceeded. | 0 |
Punctaj total | 70 |