結果
| 問題 |
No.1361 [Zelkova 4th Tune *] QUADRUPLE-SEQUENCEの詩
|
| コンテスト | |
| ユーザー |
夕叢霧香(ゆうむらきりか)
|
| 提出日時 | 2020-11-01 14:46:25 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 466 bytes |
| コンパイル時間 | 722 ms |
| コンパイル使用メモリ | 71,648 KB |
| 最終ジャッジ日時 | 2025-01-15 18:43:26 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 59 RE * 5 |
ソースコード
#include<algorithm>
#include<iostream>
#include<vector>
using namespace std;
typedef long long lint;
typedef vector<int>vi;
typedef pair<int,int>pii;
#define rep(i,n)for(int i=0;i<(int)(n);++i)
int k,l,m,n;
lint s;
const int N=501;
lint a[N],b[N],c[N],d[N];
int main(){
cin>>k>>l>>m>>n>>s;
rep(i,k)cin>>a[i];
rep(i,l)cin>>b[i];
rep(i,m)cin>>c[i];
rep(i,n)cin>>d[i];
cout<<a[0]*b[0]*c[0]*d[1]<<endl;
cout<<a[0]<<" "<<b[0]<<" "<<c[1]<<" "<<d[2]<<endl;
}
夕叢霧香(ゆうむらきりか)