Borderou de evaluare (job #1730097)

Utilizator andreiSevastreAndrei Sevastre andreiSevastre Data 16 iulie 2016 12:52:09
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:21:35: 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:22:37: 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:24:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:27:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:29:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &v[i].st, &v[i].dr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1296ms352kbOK100
Punctaj total100

Ceva nu functioneaza?