Borderou de evaluare (job #2483325)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 29 octombrie 2019 17:49:34
Problema Por Costel si Pocnitoarea Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void solve_test()': main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%d %d %d %d %d %d", &n, &a, &b, &x, &q, &ask); ^ main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:29:56: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'll* {aka long long int*}' [-Wformat=] main.cpp:29:57: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d %d", &n, &a, &b, &x, &q, &ask); ^ main.cpp: In function 'int main()': main.cpp:78:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("input", "r", stdin); ^ main.cpp:79:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("output", "w", stdout); ^ main.cpp:81:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] files(FILENAME); ^ main.cpp:81:24: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] main.cpp: In function 'void solve_test()': main.cpp:61:32: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized] c = slay[id].second, i = slay[id].first; ~~^~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1775ms4325kbIncorect0
Punctaj total0

Ceva nu functioneaza?