
uj5u.com熱心網友回復:
#include "stdio.h"#include "stdlib.h"
#include "string.h"
#include "ctype.h"
#include "malloc.h"
int main()
{
int n,x,j,k,l,m;
for(n=5;;n++)
{
j=4*(n-1)/5;
k=4*(j-1)/5;
l=4*(k-1)/5;
m=4*(l-1)/5;
if(n%5==1&&j%5==1&&k%5==1&&l%5==1&&m%5==1)
{
printf("至少合伙捕魚:%d條\n",n);
break;
}
}
return 0;
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/63064.html
標籤:C語言
上一篇:這是在ubuntu上安裝gcc時,一直顯示無法連接,是因為網路的原因嗎?
下一篇:SHA-1演算法問題
