Borderou de evaluare (job #1950701)

Utilizator ionutpop118Pop Ioan Cristian ionutpop118 Data 3 aprilie 2017 11:07: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:17: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:18: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:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d", &t); t > 0; --t) ^ user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:25:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ user.cpp:48:35: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized] ans += v[i].x - st; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1376ms332kbOK100
Punctaj total100

Ceva nu functioneaza?