[1075] 나누기

yyeahh·2021년 3월 12일
0

Baekjoon

목록 보기
5/19

[1075] 나누기

[2021.03.13]
#include <iostream>
#include <string>
using namespace std;
int main() {
	int n, f;
	cin >> n >> f;
	string c = to_string(((n - (n % 100) - 1) / f + 1) * f);
	cout << c.substr(c.size()-2);
}

0개의 댓글