Notice
Recent Posts
Recent Comments
Link
목록18258번 (1)
궤도
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/Du5BV/btq04LvX1hh/Tt8Ew40kr8bY7lqmkIwTm0/img.png)
문제 풀이 지난번에 C++의 STL중 하나인 스택을 사용해봤다. 이번에는 큐다. 큐는 FIFO(First In First Out)인 자료구조다. www.cplusplus.com/reference/queue/queue/?kw=queue queue - C++ Reference container_typeThe second template parameter (Container)Type of the underlying container www.cplusplus.com 소스코드 #include #include #include using namespace std; int main() { cin.tie(NULL); ios_base::sync_with_stdio(false); queue q; int N, num; str..
💻 현생/⛓ 알고리즘
2021. 3. 26. 17:58