일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- input태그
- programmers
- 반복문
- 시큐리티
- javascript
- css
- 로그인
- Linux
- html
- springboot
- codingtest
- 코딩테스트
- gradle
- 시큐리티 로그아웃
- 시큐리티 로그인
- JAVA11
- 스프링 부트
- security
- 소스트리
- 리눅스
- 시큐리티로그인
- springSecurity
- 프로그래머스
- 2차원배열
- java
- Spring boot
- 목록
- 싱글톤
- sql
- StyleSheet
Archives
- Today
- Total
JAVAIARY
프로그래머스) 종이자르기 본문
문제: https://school.programmers.co.kr/learn/courses/30/lessons/120922
프로그래머스
코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.
programmers.co.kr
class Solution {
public int solution(int M, int N) {
int answer = (M-1)+ M*(N-1);
return answer;
}
}
'examplePractice' 카테고리의 다른 글
프로그래머스) 구명보트 (0) | 2023.02.26 |
---|---|
프로그래머스) 둘만의 암호 (0) | 2023.02.25 |
프로그래머스) 콜라츠 추측 (0) | 2023.02.24 |
프로그래머스 ) 분수의 덧셈 (0) | 2023.02.22 |
프로그래머스 ) 다음에 올 숫자 (0) | 2023.02.19 |