일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 이펙티브코틀린
- 우아한 테크 세미나
- OS
- 에러핸들링
- 스프링 입문
- 2475번
- BOJ
- C++
- redis
- 운영체제
- HTTP
- 토마토
- 우아한레디스
- inflearn
- Four Squares
- Spring
- Operating System.
- 김영한
- 제프리리처
- 열혈 tcp/ip 프로그래밍
- Window-Via-c/c++
- 10026번
- FIFO paging
- 윤성우 저자
- Operating System
- TCP/IP
- C#
- 열혈 TCP/IP 소켓 프로그래밍
- 스프링 핵심 원리
- n타일링2
- Today
- Total
목록토마토 (2)
나의 브을로오그으

https://www.acmicpc.net/problem/7576 7576번: 토마토 첫 줄에는 상자의 크기를 나타내는 두 정수 M,N이 주어진다. M은 상자의 가로 칸의 수, N은 상자의 세로 칸의 수를 나타낸다. 단, 2 ≤ M,N ≤ 1,000 이다. 둘째 줄부터는 하나의 상자에 저장된 토마토 www.acmicpc.net #include #include #include using namespace std; #define RIPE1 #define NOT_RIPE0 #define NOTHING-1 struct Point { int m; int n; }; void RipeTomato(vector& tomatoBox, queue& ripeQ, int M, int N) { Point pt = ripeQ.fr..

https://www.acmicpc.net/problem/7569 7569번: 토마토 첫 줄에는 상자의 크기를 나타내는 두 정수 M,N과 쌓아올려지는 상자의 수를 나타내는 H가 주어진다. M은 상자의 가로 칸의 수, N은 상자의 세로 칸의 수를 나타낸다. 단, 2 ≤ M ≤ 100, 2 ≤ N ≤ 100, www.acmicpc.net #include #include using namespace std; #define RIPE1 #define NOT_RIPE0 #define NEVER_RIPE-1 int tomatoBox[101][101][101] = { 0, }; int M, N, H; struct Point3 { int m; int n; int h; }; bool IsNotRipeTomato() { f..