Borderou de evaluare (job #2277956)

Utilizator Robert_VRVRobert Vadastreanu Robert_VRV Data 7 noiembrie 2018 09:18:18
Problema Pamant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 52

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:56:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", ans1.size()); ^ main.cpp:59:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::set<int>::size_type {aka long unsigned int}' [-Wformat=] printf("\n%d\n", ans2.size()); ^ main.cpp:37:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pamant.in", "r", stdin); ^ main.cpp:38:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("pamant.out", "w", stdout); ^ main.cpp:41:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:45:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
16ms2621kbRaspuns partial corect4
215ms2883kbRaspuns partial corect4
39ms2621kbRaspuns partial corect4
467ms4718kbRaspuns partial corect4
599ms6029kbRaspuns partial corect4
6145ms7733kbRaspuns partial corect4
766ms5242kbRaspuns corect10
873ms5627kbRaspuns corect10
9238ms10747kbRaspuns partial corect4
107ms2490kbRaspuns partial corect4
Punctaj total52

Ceva nu functioneaza?