Notice
Recent Posts
Recent Comments
Link
목록백준 #10845 (1)
Programmer
10845번 큐
#include #include #include #include using namespace std; void solve() { int inputNumber; int pushData; string command; queue Queue; cin >> inputNumber; for (int i = 0; i > command; if (!command.compare("push")) { cin >> pushData; Queue.push(pushData); } else if (!command.compare("front")) { if (!Queue.size()) cout
백준
2020. 4. 2. 17:47