結果
問題 | No.279 木の数え上げ |
ユーザー |
![]() |
提出日時 | 2024-02-26 20:52:36 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 10 ms / 2,000 ms |
コード長 | 199 bytes |
コンパイル時間 | 2,663 ms |
コンパイル使用メモリ | 61,980 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-09-29 11:45:21 |
合計ジャッジ時間 | 3,945 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 |
ソースコード
lets = readLine stdinvarcnts = (t: 0, r: 0, e: 0)for c in s:case cof 't': inc cnts.tof 'r': inc cnts.rof 'e': inc cnts.eelse: discardecho min [cnts.t, cnts.r, cnts.e div 2]