提交时间:2022-07-20 12:12:17

运行 ID: 52924

#include<bits/stdc++.h> #define int long long using namespace std; inline int read(){ int x=0,f=0;char c=getchar(); while(c<48||c>57)f|=(!(c^'-')),c=getchar(); while(c>=48&&c<=57)x=(x<<1)+(x<<3)+(c^48),c=getchar(); return f?-x:x; } int n,a,b,q[25]; signed main(){ n=read(),a=read(),b=read(); for(int i=1;i<=n;i++)q[i]=read(); printf("%.12f\n",(double)n*a); return 0; }