Borderou de evaluare (job #1258760)

Utilizator bogdanboboc97Bogdan Boboc bogdanboboc97 Data 9 noiembrie 2014 13:26:31
Problema Coco Chanel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(x<=b[j])q++,x=x*1LL*2; ^ user.cpp:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if(mx<x)break; ^ user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cocochanel.in","r",stdin); ^ user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cocochanel.out","w",stdout); ^ user.cpp:13: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:14:39: 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",&a[i]); ^ user.cpp:15:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=m;i++)scanf("%d",&b[i]),mx=max(mx,b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms264kbOK10
34ms272kbOK10
44ms272kbOK10
5Depăşit1036kbTime limit exceeded.0
6Depăşit1032kbTime limit exceeded.0
7Depăşit1036kbTime limit exceeded.0
8Depăşit1040kbTime limit exceeded.0
9Depăşit1036kbTime limit exceeded.0
10Depăşit1040kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?