結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
xuelei
|
| 提出日時 | 2018-07-28 10:20:39 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 342 bytes |
| コンパイル時間 | 365 ms |
| コンパイル使用メモリ | 55,520 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-05 18:17:10 |
| 合計ジャッジ時間 | 876 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 2 |
ソースコード
#include <iostream>
using namespace std;
int main(){
string s;
cin >> s;
char map[8][8];
int n=0;
for(int i=0;i<8;i++){
for(int j=0;j<8;j++){
cin.get(map[i][j]);
if(map[i][j]!='.')n++;
}
}
if(n%2==0)cout << s << endl;
else if(s=="oda")cout << "yukiko" << endl;
else cout << "oda" << endl;
return 0;
}
xuelei