编辑代码

class Main {
	public static void main(String[] args) {
		int a = 777;
		System.out.println(Integer.toBinaryString(a));
	}
}