Pagini recente » Borderou de evaluare (job #1758133) | Borderou de evaluare (job #2415634) | Borderou de evaluare (job #1142735) | Borderou de evaluare (job #1320098) | Borderou de evaluare (job #561538)
Borderou de evaluare (job #561538)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
for(i=1;i<=P;++i) scanf("%d%d",&d[i],&c[i]), dmin[i]=INF;
^
user.cpp:20:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:20:57: warning: overflow in implicit constant conversion [-Woverflow]
for(i=1;i<=P;++i) scanf("%d%d",&d[i],&c[i]), dmin[i]=INF;
^
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&P,&K);
^
user.cpp:20:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=P;++i) scanf("%d%d",&d[i],&c[i]), dmin[i]=INF;
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 8ms | 308kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 8ms | 300kb | Incorect | 0 |
6 | 0ms | 284kb | Incorect | 0 |
7 | 0ms | 292kb | Incorect | 0 |
8 | 0ms | 284kb | Incorect | 0 |
9 | 0ms | 304kb | Incorect | 0 |
10 | 12ms | 312kb | Incorect | 0 |
Punctaj total | 0 |