include iostream include cmath int main int scanf if 1000 1000 return

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#include <iostream>
#include <cmath>
int main() {
int a, b;
scanf("%d%d", &a, &b);
if ((a>1000) || (b > 1000))
return 0;
printf("%f", sqrt(a*a + b*b));
return 0;
}