문제코드#include #include #include #include using namespace std;int main() { int d, m, y; int month[12] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30}; int specialyear; int totalDay = 0; while (true) { cin >> d >> m >> y; if (d == 0 && m == 0 && y == 0) break; specialyear = 0; if (y % 4 == 0 && (y % 100 != 0 || y % 400 == 0)) { specialyear = 1; } if (specialyear == 1 && m > 2) { +..