0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 23:08:47 +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;
}