Borderou de evaluare (job #1252988)

Utilizator costty94Duica Costinel costty94 Data 31 octombrie 2014 17:46:21
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:53:22: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld", &g[i]); ^ user.cpp:42:38: 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:43:40: 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:45:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:49:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &c[i]); ^ user.cpp:53:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &g[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms276kbOK10
30ms292kbOK10
40ms288kbOK10
5Depăşit1840kbTime limit exceeded.0
6Depăşit1836kbTime limit exceeded.0
7Depăşit1840kbTime limit exceeded.0
8Depăşit1836kbTime limit exceeded.0
9Depăşit1836kbTime limit exceeded.0
10Depăşit1836kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?