結果
問題 | No.381 名声値を稼ごう Extra |
ユーザー |
![]() |
提出日時 | 2016-06-17 22:45:31 |
言語 | Java21 (openjdk 21) |
結果 |
TLE
|
実行時間 | - |
コード長 | 457 bytes |
コンパイル時間 | 2,143 ms |
コンパイル使用メモリ | 76,112 KB |
実行使用メモリ | 82,932 KB |
最終ジャッジ日時 | 2024-10-09 16:54:41 |
合計ジャッジ時間 | 11,661 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 56 ms
59,356 KB |
testcase_01 | TLE | - |
ソースコード
import java.math.*; import java.util.Scanner; import java.io.*; public class Main { public static void main(String[] args) { InputStreamReader isr = new InputStreamReader(System.in); // create 2 BigInteger objects BigInteger bi1; BufferedReader scan = new BufferedReader(isr); int i1 = 0; try { bi1 = new BigInteger(scan.readLine()); i1 = bi1.bitCount(); } catch (IOException e) {} String str1 = "" +i1; System.out.println( str1 ); } }