Borderou de evaluare (job #1822837)

Utilizator tudorcomanTudor Coman tudorcoman Data 5 decembrie 2016 17:51:03
Problema Ausoara Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::vector<int>::size_type {aka unsigned int}’ [-Wformat=] printf("%lu ", v.size()); ^ user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ausoara.in", "r", stdin); ^ user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ausoara.out", "w", stdout); ^ user.cpp:16:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
116ms8072kbOK10
220ms8076kbOK10
360ms8076kbOK10
4Depăşit8076kbTime limit exceeded.0
5Depăşit8076kbTime limit exceeded.0
6Depăşit8052kbTime limit exceeded.0
7Depăşit8044kbTime limit exceeded.0
8Depăşit8044kbTime limit exceeded.0
9Depăşit8044kbTime limit exceeded.0
10Depăşit8044kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?