0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-26 07:52:00 +00:00
OI-codes/AcWing/655/655.cpp

13 lines
239 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
cout << n / 365 << " ano(s)" << endl;
cout << n % 365 / 30 << " mes(es)" << endl;
cout << n % 365 % 30 << " dia(s)" << endl;
return 0;
}