0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 03:31:59 +00:00
Baoshuo Ren 2021-08-02 11:06:14 +08:00 committed by Baoshuo Ren
parent 6b4e3e28cf
commit e7f37c6157
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

12
AcWing/655/655.cpp Normal file
View File

@ -0,0 +1,12 @@
#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;
}