結果
問題 |
No.88 次はどっちだ
|
ユーザー |
👑 |
提出日時 | 2020-01-16 16:49:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 356 bytes |
コンパイル時間 | 720 ms |
コンパイル使用メモリ | 64,088 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-23 21:36:27 |
合計ジャッジ時間 | 1,298 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 11 |
ソースコード
#include <iostream> using namespace std; int main(){ string s;cin>>s; int k = 0; for(int i = 0; 64 > i; i++){ char t;cin>>t; if(t != '.')k++; } if(k%2){ cout << s << endl; }else{ if(s == "oda"){ cout << "yukiko" << endl; }else{ cout << "oda" << endl; } } }