Borderou de evaluare (job #2682720)

Utilizator stelian2000Stelian Chichirim stelian2000 Data 9 decembrie 2020 13:32:20
Problema Tempest Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:61:34: 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", ans.size()); ^ main.cpp:24:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tempest.in", "r", stdin); ^ main.cpp:25:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tempest.out", "w", stdout); ^ main.cpp:27:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:29:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &n, &m, &s ,&d); ^ main.cpp:35:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &c); ^ main.cpp:41:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ main.cpp:43:28: 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
12635ms33275kbOK100
Punctaj total100

Ceva nu functioneaza?