Pagini recente » Borderou de evaluare (job #2397396) | Borderou de evaluare (job #1451226) | Borderou de evaluare (job #618489) | Borderou de evaluare (job #694942) | Borderou de evaluare (job #2118644)
Borderou de evaluare (job #2118644)
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 |
1 | Depăşit | 1252kb | Time limit exceeded. | 0 |
Punctaj total | 0 |