結果
問題 | No.88 次はどっちだ |
ユーザー |
|
提出日時 | 2018-04-22 18:25:57 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 388 bytes |
コンパイル時間 | 545 ms |
コンパイル使用メモリ | 66,040 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-27 05:42:36 |
合計ジャッジ時間 | 1,020 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include<iostream>#include<cstring>using namespace std;int main(){int n = 0;char name[10];cin >> name;if(strcmp(name, "yukiko") == 0){n++;}char c;for(int i = 0; i < 64; i++){cin >> c;if(c != '.') n++;}if(n%2 == 0) cout << "oda";else cout << "yukiko";cout << endl;return 0;}