SHARE
TWEET

A

tsypko Jun 2nd, 2020 577 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main(){
  5.     int year;
  6.     cin >> year;
  7.     int c = (year - 1) / 100 + 1;
  8.     cout << c << endl;
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top