結果
| 問題 |
No.785 色食い虫
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2020-01-24 17:51:35 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 253 bytes |
| コンパイル時間 | 718 ms |
| コンパイル使用メモリ | 64,904 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-14 03:45:34 |
| 合計ジャッジ時間 | 1,622 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 3 WA * 25 |
ソースコード
#include <iostream>
using namespace std;
int main(){
long long ans = 1;
for(int i = 0; 3 > i; i++){
string s;cin>>s;
if(s == "NONE")ans*=16*16;
else ans*=((s.size()+1)/2)*((s.size()+1)/2);
}
cout << ans << endl;
}