Borderou de evaluare (job #1764024)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 24 septembrie 2016 21:51:45
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:12:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ( "%d", &c[i] ); ^ user.cpp:14:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ( "%d", &g[i] ); ^ user.cpp:7: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:8: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:10: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:12:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ( "%d", &c[i] ); ^ user.cpp:14: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
10ms268kbOK10
20ms268kbOK10
30ms284kbOK10
40ms284kbOK10
5Depăşit1824kbTime limit exceeded.0
6Depăşit1828kbTime limit exceeded.0
7Depăşit1828kbTime limit exceeded.0
8Depăşit1828kbTime limit exceeded.0
9Depăşit1828kbTime limit exceeded.0
10Depăşit1820kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?