/*公式计算*/
#include <stdio.h>
int main()
{
int n, sum = 0, num_1 = 1, num_2 = 2;
for (int i = 0; i < 6; i++)
{
sum += num_1 + num_2;
num_1 += 3;
num_2 += 3;
}
printf("%d\n", sum);
return 0;
}
#include <stdio.h>
int main()
{
int n, sum = 0, num_1 = 1, num_2 = 2;
for (int i = 0; i < 6; i++)
{
sum += num_1 + num_2;
num_1 += 3;
num_2 += 3;
}
printf("%d\n", sum);
return 0;
}