結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-29 14:02:45 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 377 bytes |
| コンパイル時間 | 2,200 ms |
| コンパイル使用メモリ | 192,388 KB |
| 最終ジャッジ日時 | 2025-01-07 09:57:28 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 4 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
string s;
cin >> s;
string t;
if (s == "oda") t = "yukiko";
else t = "oda";
char c;
int cnt = 0;
for (int i = 0; i < 64; i++) {
cin >> c;
if (c == '.') cnt++;
}
if (c % 2 == 0) cout << s << endl;
else cout << t << endl;
return 0;
}