Borderou de evaluare (job #1766311)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 27 septembrie 2016 20:30:20
Problema Coco Chanel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10ms1052kbIncorect0
220ms1044kbIncorect0
3Depăşit1056kbTime limit exceeded.0
4Depăşit1064kbTime limit exceeded.0
5Depăşit1856kbTime limit exceeded.0
6Depăşit1848kbTime limit exceeded.0
7Depăşit1852kbTime limit exceeded.0
8Depăşit1852kbTime limit exceeded.0
9Depăşit1852kbTime limit exceeded.0
10Depăşit1856kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?