목록10828번 (1)
이우의 개발일지

백준 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..
Coding
2024. 5. 10. 23:30