1620번1 백준 1620번 : 나는야 포켓몬 마스터 이다솜 [C++] 주소 : https://www.acmicpc.net/problem/1620 1620번: 나는야 포켓몬 마스터 이다솜 첫째 줄에는 도감에 수록되어 있는 포켓몬의 개수 N이랑 내가 맞춰야 하는 문제의 개수 M이 주어져. N과 M은 1보다 크거나 같고, 100,000보다 작거나 같은 자연수인데, 자연수가 뭔지는 알지? 모르면 www.acmicpc.net 소스 코드 : #define _CRT_SECURE_NO_WARNINGS #include #include #include #include using namespace std; typedef struct { int number; string name; }Pokemon; bool compare(Pokemon a, Pokemon b) { return a.name < .. 2022. 8. 26. 이전 1 다음