結果
| 問題 | 
                            No.1021 Children in Classrooms
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2021-01-06 00:06:24 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 141 bytes | 
| コンパイル時間 | 199 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 37,044 KB | 
| 最終ジャッジ日時 | 2024-11-06 08:42:20 | 
| 合計ジャッジ時間 | 5,248 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 6 TLE * 1 -- * 10 | 
ソースコード
input() l=list(map(int,input().split())) s=input() for x in s: if x=='L':l=[l[0]+l[1]]+l[2:]+[0] else: l=[0]+l[:-2]+[l[-2]+l[-1]] print(*l)