0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 21:16:27 +00:00
OI-codes/AtCoder/ABC235/A/A.cpp

9 lines
195 B
C++
Raw Normal View History

#include <cstdio>
int main() {
int a, b, c;
scanf("%1d%1d%1d", &a, &b, &c);
printf("%d\n", (a * 100 + b * 10 + c) + (b * 100 + c * 10 + a) + (c * 100 + a * 10 + b));
return 0;
}