C语言开灯问题,有n(n<100)盏灯,编号为1~n。第一个人把所有灯都打开,第二个人按下所有

日期:2022-04-10 07:27:40 人气:1

C语言开灯问题,有n(n<100)盏灯,编号为1~n。第一个人把所有灯都打开,第二个人按下所有

看代码比写代码麻烦,写一个你作参考……

//#include "stdafx.h"//If the vc++6.0, with this line.
#include "stdio.h"
int main(void)
    A+
热门评论