結果
| 問題 |
No.47 ポケットを叩くとビスケットが2倍
|
| コンテスト | |
| ユーザー |
FpmpAmpm
|
| 提出日時 | 2016-10-22 12:46:39 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 441 bytes |
| コンパイル時間 | 2,418 ms |
| コンパイル使用メモリ | 74,544 KB |
| 実行使用メモリ | 41,592 KB |
| 最終ジャッジ日時 | 2024-11-23 17:05:39 |
| 合計ジャッジ時間 | 5,568 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 1 WA * 20 |
ソースコード
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
Scanner sc = new Scanner(System.in);
String N = Integer.toBinaryString(sc.nextInt());
System.out.println(("1".equals(N)) ? 0 : N);
}
}
FpmpAmpm