Borderou de evaluare (job #2517470)

Utilizator rapunzelMihnea Andreescu rapunzel Data 3 ianuarie 2020 16:58:27
Problema Consecutive Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void print(long long int, std::vector<long long int>)': main.cpp:25:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d %d\n", l, r); ^ main.cpp:25:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] main.cpp: In function 'int32_t main()': main.cpp:34:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &t); ^ main.cpp:38:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &n); ^ main.cpp:50:67: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", (long long) sol.size() + (long long) rev.size()); ^ main.cpp:30:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("consecutive.in", "r", stdin); ^ main.cpp:31:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("consecutive.out", "w", stdout); ^ main.cpp:34:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:38:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
123ms131kbOK100
Punctaj total100

Ceva nu functioneaza?