Borderou de evaluare (job #1711463)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 31 mai 2016 12:30:43
Problema Norocoase Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:25: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 3 has type ‘double*’ [-Wformat=] scanf("%d %Lf", &n, &w); ^ user.cpp:58:60: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 2 has type ‘double*’ [-Wformat=] for (i = 0; i < n; ++i) scanf("%Lf %Lf", &P[i].x, &P[i].y); ^ user.cpp:58:60: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 3 has type ‘double*’ [-Wformat=] user.cpp:48: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:49: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:54: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:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %Lf", &n, &w); ^ user.cpp:58:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i = 0; i < n; ++i) scanf("%Lf %Lf", &P[i].x, &P[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit480kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?