Borderou de evaluare (job #1757297)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 14 septembrie 2016 20:10:59
Problema Norocoase Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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("norocoase.in", "r", stdin); ^ user.cpp:23:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("norocoase.out", "w", stdout); ^ user.cpp:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d", &t); t; --t) ^ user.cpp:29:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &w); ^ user.cpp:31:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i = 0; i < n; ++i) scanf("%d %d", &P[i].x, &P[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1592ms1052kbOK100
Punctaj total100

Ceva nu functioneaza?