結果
| 問題 | No.88 次はどっちだ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-11-24 21:25:15 |
| 言語 | Java (openjdk 27 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 55 ms / 5,000 ms |
| + 968µs | |
| コード長 | 394 bytes |
| 記録 | |
| コンパイル時間 | 1,469 ms |
| コンパイル使用メモリ | 85,740 KB |
| 実行使用メモリ | 45,296 KB |
| 最終ジャッジ日時 | 2026-10-10 08:41:31 |
| 合計ジャッジ時間 | 3,366 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String s=sc.next();
int x=0;
if(s.equals("oda"))x=1;
for(int i=0;i<8;i++){
char a[]=sc.next().toCharArray();
for(char p:a){if(p=='.')x++;
}
}
if(x%2==0)System.out.println("yukiko");
else System.out.println("oda");
}}