結果
| 問題 |
No.47 ポケットを叩くとビスケットが2倍
|
| ユーザー |
GodNegoto
|
| 提出日時 | 2019-11-05 17:32:09 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 234 bytes |
| コンパイル時間 | 3,797 ms |
| コンパイル使用メモリ | 74,032 KB |
| 実行使用メモリ | 54,244 KB |
| 最終ジャッジ日時 | 2024-09-15 00:08:26 |
| 合計ジャッジ時間 | 7,862 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 19 WA * 2 |
ソースコード
import java.util.*;
public class sample6 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int cnt = 0;
while(N != 0) {
N = N / 2;
cnt++;
}
System.out.println(cnt);
}
}
GodNegoto