結果

問題 No.785 色食い虫
ユーザー KKT89
提出日時 2019-09-24 07:57:56
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 305 bytes
コンパイル時間 694 ms
コンパイル使用メモリ 76,872 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-19 04:58:14
合計ジャッジ時間 1,597 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 22 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <map>
#include <set>
using namespace std;
typedef long long int ll;

int main(){
	string s[3];
	int ans=1;
	for(int i=0;i<3;i++){
		cin >> s[i];
		int m=(s[i].size()+1)/2;
		ans*=(16-m)*(16-m);
	}
	cout << ans << endl;
}
0