목록백준 (31)
이우의 개발일지

백준 1193번 분수찾기 코딩 https://www.acmicpc.net/problem/1193 수학적 규칙을 찾는데 조금 시간이 걸렸던 문제.#include #include #include#include using namespace std;int main() { int N; cin >> N; int a = 1, b = 1; int flag = 0; for (int i = 1; i

2941번 크로아티아 알파벳 코드 https://www.acmicpc.net/problem/2941#include #include #include#include using namespace std;int main() { string input; cin >> input; int n = 0; int flag = 0; for (int i = 0; i

백준 10828번 스택https://www.acmicpc.net/problem/10828 백준 코드 #include #include #include#include using namespace std;int main() { int N; cin >> N; string input; string push = "push", top = "top", pop = "pop", size = "size", empty = "empty"; stack v; for (int i = 0; i > input; if (input == push) { int t; cin >> t; v.push(t); } els..