結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
sasa
|
| 提出日時 | 2025-03-05 16:59:59 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 361 bytes |
| 記録 | |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 40,192 KB |
| 実行使用メモリ | 5,760 KB |
| 最終ジャッジ日時 | 2026-07-06 20:54:43 |
| 合計ジャッジ時間 | 1,461 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <stdio.h>
int main(){
char s[10];
scanf("%s", s);
char str[10];
int count = 0;
for (int i = 0; i < 8; i++)
{
scanf("%s", str);
for (int j = 0; j < 8; j++){
if (str[j] != '.'){
count++;
}
}
}
if (count % 2 > 0)
{
if (s[0] == 'o'){
printf("yukiko\n");
}else{
printf("oda\n");
}
}
else{
printf("%s\n", s);
}
}
sasa