A1

  • 홈
  • 방명록

분류 전체보기 75

2588 : 곱셈

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int b100 = B / 100; // 백의 자리 숫자 3 int b10 = (B - b100*100) / 10; // 십의자리 숫자 int b1 = (B - b100*100 - b10*10) / 1; // 일의 자리 숫자 System.out.println(A*b1); System.out.println((A*b10)); System.out.println((A*b100)); System.out.println(..

일상 2021.07.23

1008 : A/B

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a = sc.nextDouble(); double b = sc.nextDouble(); System.out.println(a / b); } }

일상 2021.07.23

1001 : A-B

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a - b); } }

일상 2021.07.23

1000 : A+B

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a + b); } }

일상 2021.07.23

2557 : Hello World

public class Main { public static void main(String[] args) { System.out.println("Hello World!"); } }​

일상 2021.07.23
이전
1 ··· 5 6 7 8
다음
더보기
프로필사진

A1

알고리즘 공부

  • 분류 전체보기 (75)
    • 일상 (58)
    • 백준 알고리즘 기초 1 (11)
      • 자료구조 1 (8)
      • 자료구조 1 (연습) (2)
      • 자료구조 1 (참고) (0)
      • DP 1 (1)
      • DP 1 (연습) (0)
      • DP 1 (도전) (0)
    • 백준 알고리즘 기초 2 (5)
      • 브루트 포스 (0)
      • 브루트 포스 (N과 M) (0)
      • 브루트 포스 - 순열 (0)
      • 브루트 포스 - 재귀 (0)
      • 브루트 포스 - 비트마스크 (0)
      • 그래프 1 (5)
      • 그래프 1 (연습) (0)
      • 그래프 1 (도전) (0)
      • BFS (0)
      • 트리 1 (0)
    • 백준 알고리즘 중급 1 (0)

Tag

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/10   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바