ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#212285 | #3812. T2 | hjw0906 | Compile Error | / | / | C++ | 195b | 2024-10-13 17:39:54 | 2024-10-13 19:39:05 |
answer
#include <bits/stdc++.h>
using namespace std;
int ans=1,n,a[100005],b[100005]
int main(){
cin>>n;
for(int i=0;i<n;i++){
cin>>a[i];
ans*=a[i];
}
cout<<ans<<endl;
return 0;
}
详细
answer.code:4:1: error: expected initializer before 'int' int main(){\x0d ^