Borderou de evaluare (job #1764064)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 24 septembrie 2016 22:42:29
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:36:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ( "%d", &c[i] ); ^ user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ( "%d", &g[i] ); ^ user.cpp:30:44: 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:31:46: 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:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d%d", &n, &m ); ^ user.cpp:36:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d", &c[i] ); ^ user.cpp:38:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d", &g[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1820kbOK10
216ms1824kbOK10
3152ms1832kbOK10
4152ms1828kbOK10
5Depăşit2596kbTime limit exceeded.0
6Depăşit2596kbTime limit exceeded.0
7Depăşit2600kbTime limit exceeded.0
8Depăşit2596kbTime limit exceeded.0
9Depăşit2600kbTime limit exceeded.0
10Depăşit2596kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?