#G. C++-数据存储与读入-输入一个三位数,求出数x百位、十位和个位的三个数之和

    Type: Default 1000ms 256MiB

C++-数据存储与读入-输入一个三位数,求出数x百位、十位和个位的三个数之和

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

C++-数据存储与读入-输入一个三位数,求出数x百位、十位和个位的三个数之和

Format

Input

Output

Samples

123
6

Limitation

1s, 1024KiB for each test case.