Borderou de evaluare (job #1252157)

Utilizator YoChinezuWeng Mihai Alexandru YoChinezu Data 30 octombrie 2014 14:57:58
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:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(int i=1;i<=n;++i) scanf("%I64d",&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:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=n;++i) scanf("%I64d",&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
10ms284kbOK10
20ms284kbOK10
34ms292kbOK10
44ms296kbOK10
5Depăşit1800kbTime limit exceeded.0
6Depăşit1796kbTime limit exceeded.0
7Depăşit1796kbTime limit exceeded.0
8Depăşit1800kbTime limit exceeded.0
9Depăşit1796kbTime limit exceeded.0
10Depăşit1800kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?