Borderou de evaluare (job #1511368)

Utilizator tain1234andrei laur tain1234 Data 26 octombrie 2015 18:17: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: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
152msDepăşitMemory limit exceeded.0
252msDepăşitMemory limit exceeded.0
352msDepăşitMemory limit exceeded.0
452msDepăşitMemory limit exceeded.0
552msDepăşitMemory limit exceeded.0
652msDepăşitMemory limit exceeded.0
752msDepăşitMemory limit exceeded.0
852msDepăşitMemory limit exceeded.0
952msDepăşitMemory limit exceeded.0
1052msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?