Pagini recente » Borderou de evaluare (job #2592407) | Borderou de evaluare (job #343383) | Borderou de evaluare (job #2340124) | Borderou de evaluare (job #1694398) | Borderou de evaluare (job #1521599)
Borderou de evaluare (job #1521599)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pluton.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pluton.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:41:5: warning: ‘ir’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=1;i<=ir;i++) printf("%d ",v3[i]);
^
user.cpp:38:33: warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(r>maxx) {maxx=r;r2=1;for(int j=1;j<=l;j++) v3[j]=v2[j];ir=l;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | Numar incorect de plutoane! | 0 | 0 |
2 | 0ms | 296kb | Numar incorect de plutoane! | 0 |
3 | 0ms | 284kb | Ok! | 10 |
4 | 0ms | 288kb | Ok! | 10 |
5 | 0ms | 340kb | Ok! | 10 |
6 | 0ms | 292kb | Ok! | 10 | 0 |
7 | 4ms | 308kb | Numar incorect de plutoane! | 0 |
8 | 4ms | 312kb | Ok! | 10 |
9 | 4ms | 316kb | Numar incorect de plutoane! | 0 |
10 | 0ms | 288kb | Numar incorect de plutoane! | 0 |
Punctaj total | 0 |