#include <algorithm> #include <iostream> using namespace std; int main() { int a, b, c; while (cin >> a >> b >> c) { // 注意 while 处理多个 case if(a==0){ break; } cout << max(min(max(a,b),c),min(a,b))-max(max(a, b),c)+min(min(a...