0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-12 16:26:26 +00:00
OI-codes/AtCoder/ABC235/A/A.cpp

9 lines
195 B
C++

#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;
}