Borderou de evaluare (job #1570245)

Utilizator akaprosAna Kapros akapros Data 16 ianuarie 2016 11:57:00
Problema Lungimi de interval Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:20:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &v[i].x, &v[i].y); ^ user.cpp: In function ‘void rsw()’: user.cpp:42: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:43: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:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp: In function ‘void solve()’: user.cpp:28:9: warning: ‘pmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (v[i].y >= pmax) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1284ms480kbIncorect0
Punctaj total0

Ceva nu functioneaza?