Borderou de evaluare (job #1748738)

Utilizator dorupopDoru Pop dorupop Data 26 august 2016 18:44:15
Problema Lungimi de interval Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j,sum; ^ user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("linterv.in", "r", stdin); ^ user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("linterv.out", "w", stdout); ^ user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:41:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:43:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &in[i].a, &in[i].b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1264ms312kbOK100
Punctaj total100

Ceva nu functioneaza?