[12901] 2016
#include using namespace std;string solution(int a, int b){string answer = "";string day[] = { "FRI", "SAT", "SUN", "MON", "TUE", "WED", "THU" };int day2[] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30 };int sum = 0;for (int i = 0; i
2018. 10. 28.
[42840] 모의고사
#include #include #include using namespace std;bool srt(pair a, pair b){return a.second > b.second;}vector solution(vector answers){vector answer;vector stu = { {1,0 }, {2,0 }, {3,0} };int fir[] = { 1,2,3,4,5 };int sec[] = { 2,1,2,3,2,4,2,5 };int thi[] = { 3,3,1,1,2,2,4,4,5,5 };int suc = 0;for (int i = 0; i
2018. 10. 21.