Borderou de evaluare (job #2118644)

Utilizator Constantin.Dragancea Constantin Constantin. Data 30 ianuarie 2018 20:26:26
Problema Curs Valutar Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:35: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘ld* {aka long double*}’ [-Wformat=] scanf("%lf%d%d",&s, &n, &z); ^ user.cpp:15:58: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 2 has type ‘ld* {aka long double*}’ [-Wformat=] for (int j=1; j<=z; j++) scanf("%lf",&a[i][j]); ^ user.cpp:22:27: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘ld {aka long double}’ [-Wformat=] printf("%.6f\n", s); ^ user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cursvalutar.in","r",stdin); ^ user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cursvalutar.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:13:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%d%d",&s, &n, &z); ^ user.cpp:15:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int j=1; j<=z; j++) scanf("%lf",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1252kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?