@@ -2,7 +2,7 @@
using namespace std;
-int main(int argc, char const *argv[]) {
+int main() {
double a, b, c;
cin >> a >> b >> c;
double delta = b * b - 4 * a * c;
for (double x1, y1, x2, y2; cin >> x1 >> y1 >> x2 >> y2;) {
cout << setiosflags(ios::fixed) << setprecision(2)
<< hypot(x1 - x2, y1 - y2) << endl;
@@ -3,7 +3,7 @@
const double pi = atan(1.0) * 4;
for (double r; cin >> r;) {
cout << setiosflags(ios::fixed) << setprecision(3)
<< 4.0 * pi * pow(r, 3) / 3 << endl;
const double PI = atan(1.0) * 4;
int n;
double r;
for (int m, n; cin >> m >> n;) {
int x = 0, y = 0;
for (int i = m; i <= n; i++) {
+int main(){
double U, D, H, slope, area, perimeter;
cin >> U >> D >> H;
area = (U + D) * H / 2;
for (string s; cin >> s; cout << s << endl);
return 0;
}