結果
問題 |
No.47 ポケットを叩くとビスケットが2倍
|
ユーザー |
|
提出日時 | 2019-09-14 19:33:50 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 124 bytes |
コンパイル時間 | 4,109 ms |
コンパイル使用メモリ | 64,272 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 11:35:16 |
合計ジャッジ時間 | 4,350 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
import strutils var n: int = stdin.readline.parseInt ans: int = 0 for i in 0..30: if 1 shl i < n: ans.inc echo ans