Solution to the problem number 635 of AceptaelReto - 635.

Any questions do not hesitate to contact.


#include <bits/stdc++.h>
using namespace std;
//1501 al 1600
int main(){
    int cases; scanf("%d",&cases);
    while(cases--){
        int year; scanf("%d",&year);
        int siglo = year/100;
        if(year%100!=0) siglo++;
        printf("%d\n",siglo);
    }
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!