noi题库1003. 猜数游戏
题目描述
有一个“就是它”的猜数游戏,步骤如下:请你对任意输入的一个三位数x,在这三位数后重复一遍,得到一个六位数,467–>467467.把这个数连续除以7、11、13,输出最后的商。
输入
输入一个三位数x。
输出
输出最后的商。
样例输入
100
样例输出
100
#include <iostream>
using namespace std;
main(){
int num;
cin>>num;
num=num*1000+num