diff --git a/0x02/solutions/2753_1.cpp b/0x02/solutions/2753_1.cpp new file mode 100644 index 00000000..ff6499e8 --- /dev/null +++ b/0x02/solutions/2753_1.cpp @@ -0,0 +1,19 @@ +// Authored by : - +// Co-authored by : - +//http://boj.kr/c90b49f6a233442f8d300e0e4cd3a2e2 +#include +using namespace std; + +int main(void){ + ios::sync_with_stdio(0); + cin.tie(0); + + int year; + cin >> year; + + cout << chrono::year(year).is_leap(); +} + +/* +https://en.cppreference.com/w/cpp/chrono/year/is_leap +*/