🌈 style:

This commit is contained in:
lzy
2024-05-26 15:39:14 +08:00
parent 6f28a3384a
commit a57bbdb4c1
156 changed files with 765 additions and 770 deletions

View File

@@ -1,9 +1,9 @@
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define WEIGHT 3.0e-23
#define KQ 950
#define KQ 950
static void water(void)
{
@@ -69,8 +69,8 @@ void root(void)
exit(1);
}
disc = b * b - 4 * a * c;
p = -b / 2 * a;
q = sqrt(disc) / 2 * a;
p = -b / 2 * a;
q = sqrt(disc) / 2 * a;
x1 = p + q;
x2 = p - q;
@@ -79,13 +79,13 @@ void root(void)
printf("x2 = %f\n", x2);
}
int main()
int main( )
{
// water();
// area();
root();
root( );
exit(0);
}