結果
問題 |
No.154 市バス
|
ユーザー |
![]() |
提出日時 | 2016-04-16 23:01:49 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 121 bytes |
コンパイル時間 | 70 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-13 08:13:27 |
合計ジャッジ時間 | 1,693 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 4 WA * 4 |
ソースコード
for _ in[0]*input(): a=0 for c in raw_input(): if c=="G":a+=1 if c=="R"and a>0:a-=1 print["","im"][a>0]+"possible"