diff --git a/AcWing/655/655.cpp b/AcWing/655/655.cpp new file mode 100644 index 00000000..b00bca99 --- /dev/null +++ b/AcWing/655/655.cpp @@ -0,0 +1,12 @@ +#include + +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; +}