Borderou de evaluare (job #2277959)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:55: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:58: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
18ms2621kbRaspuns corect10
215ms2883kbRaspuns corect10
38ms2621kbRaspuns corect10
467ms4718kbRaspuns corect10
5100ms6029kbRaspuns corect10
6150ms7733kbRaspuns corect10
764ms5242kbRaspuns corect10
875ms5627kbRaspuns corect10
9230ms10747kbRaspuns corect10
107ms2490kbRaspuns corect10
Punctaj total100

Ceva nu functioneaza?