Borderou de evaluare (job #1511326)

Utilizator tain1234andrei laur tain1234 Data 26 octombrie 2015 15:57:18
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:74:19: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] printf("%6f\n", S); ^ user.cpp:115:20: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] printf("%6f\n", S); ^ user.cpp:69:8: warning: unused variable ‘fp’ [-Wunused-variable] FILE* fp=freopen("desen.in", "r", stdin); ^ user.cpp:70:8: warning: unused variable ‘fp1’ [-Wunused-variable] FILE* fp1=freopen("desen.out", "w", stdout); ^ user.cpp:71:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a, &b); ^ user.cpp:78:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms512kbWrong Answer!0
20ms544kbWrong Answer!0
34ms640kbWrong Answer!0
476ms3172kbWrong Answer!0
5256ms10540kbWrong Answer!0
6256ms10540kbWrong Answer!0
7256ms10720kbWrong Answer!0
8256ms10428kbWrong Answer!0
9252ms10468kbWrong Answer!0
10256ms10444kbWrong Answer!0
Punctaj total0

Ceva nu functioneaza?