Borderou de evaluare (job #1252356)

Utilizator YoChinezuWeng Mihai Alexandru YoChinezu Data 30 octombrie 2014 17:58:16
Problema Coco Chanel Status done
Runda selectie_shumen_ichb Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(register int i=1;i<=n;++i) scanf("%d",&a[i]); ^ user.cpp:26: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:27: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:30: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:32:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(register int i=1;i<=n;++i) scanf("%d",&a[i]); ^ user.cpp:34:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&aux); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms264kbOK10
30ms280kbOK10
40ms280kbOK10
5Depăşit1780kbTime limit exceeded.0
6Depăşit1784kbTime limit exceeded.0
7Depăşit1784kbTime limit exceeded.0
8Depăşit1780kbTime limit exceeded.0
9Depăşit1780kbTime limit exceeded.0
10Depăşit1780kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?