Borderou de evaluare (job #2354014)

Utilizator Carol_LucaCarol Luca Carol_Luca Data 24 februarie 2019 19:46:10
Problema Easyvect Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:113:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("easyvect.in", "r", stdin); ^ main.cpp:117:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("easyvect.out", "w", stdout); ^ main.cpp:125:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &T); ^ main.cpp:137:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &N, &Q), q[0] = q[1] = 0; ^ main.cpp:145:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &a[i]), s[i] = s[i - 1] + a[i]; ^ main.cpp:161:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &X), X ++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
19ms262kbOK25100
2685ms9437kbOK25
310ms262kbOK25
4284ms4456kbOK25
Punctaj total100

Ceva nu functioneaza?