Borderou de evaluare (job #1511369)

Utilizator tain1234andrei laur tain1234 Data 26 octombrie 2015 18:17:58
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:75:19: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] printf("%6f\n", S); ^ user.cpp:115:29: warning: operation on ‘r’ may be undefined [-Wsequence-point] else sol[++r] = sol[r - 1]; ^ user.cpp:117:52: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=] for (int i = 0; i <= r; ++i)printf("%6f\n", sol[i]); ^ user.cpp:70:8: warning: unused variable ‘fp’ [-Wunused-variable] FILE* fp=freopen("desen.in", "r", stdin); ^ user.cpp:71:8: warning: unused variable ‘fp1’ [-Wunused-variable] FILE* fp1=freopen("desen.out", "w", stdout); ^ user.cpp:72:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:73: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:80: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
10ms648kbWrong Answer!0
24ms700kbWrong Answer!0
38ms840kbWrong Answer!0
4Depăşit3856kbTime limit exceeded.0
5Depăşit3856kbTime limit exceeded.0
6Depăşit3848kbTime limit exceeded.0
7Depăşit3864kbTime limit exceeded.0
8Depăşit3720kbTime limit exceeded.0
9Depăşit3860kbTime limit exceeded.0
10Depăşit3864kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?