結果

問題 No.785 色食い虫
ユーザー 👑 CleyL
提出日時 2020-01-24 17:53:35
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 259 bytes
コンパイル時間 500 ms
コンパイル使用メモリ 64,136 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-14 03:45:35
合計ジャッジ時間 1,451 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

#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*=(16-(s.size()+1)/2)*(16-(s.size()+1)/2);
    }
    cout << ans << endl;
}
0