0
点赞
收藏
分享

微信扫一扫

SailorSubCoconut水手分椰子

芷兮离离 2023-06-16 阅读 17


// SailorSubCoconut.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

int main(int argc, char* argv[])
{
	int a=6;
	int tmpa;
	int i;
	while(1)
	{
		tmpa=a;
		for( i=0;i<5;i++)
		{
		
			if((tmpa*5)%4==0)
				tmpa=(tmpa*5)/4+1;
			else
			{
				a+=5;
				goto next;
			}
		}
		if(i==5)
		{
			printf("a0=%d\n",tmpa);
			break;
		}
		else
		{
			printf("error!\n");
		}
next: ;
	}
	//printf("Hello World!\n");
	return 0;
}

/*
a0=15621
Press any key to continue
*/



举报

相关推荐

0 条评论