Borderou de evaluare (job #1584703)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 30 ianuarie 2016 13:31:41
Problema Iopds Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:45: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=] scanf( "%lf %lf %lf %d", &A, &B, &C, &N ); ^ user.cpp:14:45: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=] user.cpp:14:45: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=] user.cpp:16:29: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘long double*’ [-Wformat=] scanf( "%lf", &V[i] ); ^ user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "iopds.in" , "r", stdin ); ^ user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "iopds.out", "w", stdout ); ^ user.cpp:14:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%lf %lf %lf %d", &A, &B, &C, &N ); ^ user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%lf", &V[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbIncorect0
20ms296kbIncorect0
30ms300kbIncorect0
48ms300kbIncorect0
5Depăşit288kbTime limit exceeded.0
6Depăşit284kbTime limit exceeded.0
7Depăşit284kbTime limit exceeded.0
80ms280kbKilled by signal 11(SIGSEGV).0
90ms284kbKilled by signal 11(SIGSEGV).0
100ms280kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?