結果
問題 | No.785 色食い虫 |
ユーザー |
|
提出日時 | 2020-04-13 03:06:21 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 245 bytes |
コンパイル時間 | 1,957 ms |
コンパイル使用メモリ | 192,960 KB |
最終ジャッジ日時 | 2025-01-09 17:51:23 |
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
#include <bits/stdc++.h> #define rep(i,n) for(int i=0;i<(n);i++) using namespace std; int main(){ int ans=1; rep(i,3){ string s; cin>>s; int l=(s.length()+1)/2; ans*=(s=="NONE"?256:(16-l)*(16-l)); } printf("%d\n",ans); return 0; }