11 lines
192 B
C
11 lines
192 B
C
#include <math.h>
|
|
#include <stdio.h>
|
|
|
|
float f(int a, int b) { return sqrt(a * a + b * b); }
|
|
|
|
int main() {
|
|
int a, b;
|
|
scanf("%d %d", &a, &b);
|
|
printf("%.2f", f(a, b));
|
|
return 0;
|
|
} |