結果
問題 | No.88 次はどっちだ |
ユーザー |
![]() |
提出日時 | 2016-07-29 18:44:57 |
言語 | Fortran (gFortran 14.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 521 bytes |
コンパイル時間 | 156 ms |
コンパイル使用メモリ | 32,128 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-06 18:31:44 |
合計ジャッジ時間 | 829 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
character*8::Scharacter*8::yukiko='yukiko',oda='oda',tebancharacter*8::board(8)integer::t=0,i,jread *,Sread *,boarddo i=1,8do j=1,8if(board(i)(j:j).ne.'.') thent = t + 1end ifend doend doif(TRIM(S).eq.yukiko) thenif(MOD(t,2).eq.0) thenteban = yukikoelseteban = odaend ifelseif(MOD(t,2).eq.0) thenteban = odaelseteban = yukikoend ifend ifprint '(a)', tebanend program