일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- springboot기본설정
- 이해와 원리
- MySqlType
- sql
- 임베디드타입
- 스프링부트기본설정
- 자바제너릭
- 에이치투데이터베이스
- spring
- 제이피큐엘쿼리
- Git
- 데이터베이트h2
- jpa
- jpqlquery
- embededtype
- javageneric
- springbootH2
- 스프링부트
- gitinitial
- Open EntityManager
- springbootproxy
- JPA값타입
- JPAmapping
- JPAproxy
- dockercmd
- JDBC connection pool
- httppie
- JPA프록시
- JPA Hint & Lock
- OSIV
Archives
- Today
- Total
빡코
[과제]백준_ 10872번 _팩토리얼 본문
https://www.acmicpc.net/problem/10872
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int sum = 1;
for(int i=1;i<N+1;i++) {
sum*=i;
}
System.out.println(sum);
}
}
'Algorithm' 카테고리의 다른 글
[과제] 설명 준비해오기1 (0) | 2020.01.02 |
---|---|
[ 과제]백준_ 11047번_동전0 (0) | 2020.01.02 |
[스터디] 프로그래머스_레벨1_2016년 ( 요일맞추기) (0) | 2020.01.02 |
알고리즘에 대하여 (0) | 2020.01.02 |
[알고 day2] 퀵정렬 (0) | 2020.01.01 |