1.?线题下载?????ĿԴ??
??????ĿԴ??
源代码:
#include <stdio.h>
int
min (int m, int n)
{
return m < n ? m : n;
}
int
main (void)
{
int pairs = 0;
int tday = 0, sday = 0;
int A = 0, B = 0;
int i = 0, j = 0;
for (i = 0; i < ; i++)
{
for (j = 0; j < ; j++)
{
A = i * + j * ;
B = ( - i) * + ( - j) * ;
if (pairs < min (A, B))
{
pairs = min (A, B);
tday = i;
sday = j;
}
}
}
printf ("tday = %d\t sday = %d\t pairs = %d\n", tday, sday, pairs);
return 0;
}
输出:
tday = 1 sday = 9 pairs =
师父用1天生产甲,徒弟有9天生产甲,目源码线高仿qq源码2016共生产对
题目ssu源码拦截下载2024-11-29 22:34
2024-11-29 22:29
2024-11-29 22:04
2024-11-29 21:22
2024-11-29 20:46
2024-11-29 20:13