Compare commits

..

No commits in common. "51edac9f6d8d633e74a8845db5b20777e6cafc95" and "da036a3a93b86f29eb29bb391413835285e3d9f2" have entirely different histories.

3 changed files with 1 additions and 24 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
**/*.exe
**/*.out
**/gmon.out

View File

@ -1,12 +0,0 @@
#include <cstdio>
using namespace std;
int main()
{
int x;
float y;
scanf("%d%f", &x, &y);
printf("%.3f km/l", x / y);
return 0;
}

View File

@ -1,11 +0,0 @@
#include <cstdio>
#include <cmath>
int main()
{
double x1, y1, x2, y2;
scanf("%lf%lf", &x1, &y1);
scanf("%lf%lf", &x2, &y2);
printf("%.4lf\n",sqrt(pow((x1-x2),2)+pow((y1-y2),2)));
return 0;
}