前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【程序源码】女神节特供

【程序源码】女神节特供

作者头像
编程范 源代码公司
发布2018-04-18 11:03:05
6370
发布2018-04-18 11:03:05
举报

今天3月8号喽,女神节,咱们还是程序猿,最容易孤生的一个人种,得看别人各种虐,小编这就不乐意了,所以奉上祖传源码助大家一臂之力告别单身,各位,瞧好了。

效果图如下:

炫彩版,不多讲,咱上源码;

#include <stdio.h>

#include <math.h>

#include <stdlib.h>

#define I 20

#define R 340

int main()

{

int i,j,e;

int a;

long time;

system("title c语言研究中心www.dotcpp.com");

for(i=1,a=I;i<I/2;i++,a--)

{

for(j=(int) ( I-sqrt(I*I-(a-i)*(a-i)) );j>0;j--)

printf(" ");

for(e=1;e<=2*sqrt(I*I-(a-i)*(a-i));e++)

printf("\3");

for(j=(int)

( 2*( I-sqrt(I*I-(a-i)*(a-i)) ) );j>0;j--)

printf(" ");

for(e=1;e<=2*sqrt(I*I-(a-i)*(a-i));e++)

printf("\3");

printf("\n"); }

for(i=1;i<80;i++)

{

if(i==25)

{

printf(" 我爱www.dotcpp.com ");

i+=30;

}

printf("\3");

}

printf("\n");

for(i=1;i<=R/2;i++)

{

if(i%2||i%3)

continue;

for(j=(int) ( R-sqrt(R*R-i*i) );j>0;j--)

printf(" ");

for(e=1;e<=2*( sqrt(R*R-i*i) - (R-2*I) );e++)

printf("\3");

printf("\n");

}

for(; ; )

{

system("color a");

for(time=0;time<99999999;time++); system("color b");

for(time=0;time<99999999;time++); system("color c");

for(time=0;time<99999999;time++); system("color d");

for(time=0;time<99999999;time++); system("color e");

for(time=0;time<99999999;time++); system("color f");

for(time=0;time<99999999;time++);

system("color 0"); for(time=0;time<99999999;time++);

system("color 1"); for(time=0;time<99999999;time++);

system("color 2"); for(time=0;time<99999999;time++);

system("color 3"); for(time=0;time<99999999;time++);

system("color 4");

for(time=0;time<99999999;time++); system("color 5");

for(time=0;time<99999999;time++); system("color 6");

for(time=0;time<99999999;time++); system("color 7");

for(time=0;time<99999999;time++); system("color 8");

for(time=0;time<99999999;time++); system("color 9");

for(time=0;time<99999999;time++); system("color ab");

for(time=0;time<99999999;time++); system("color ac");

for(time=0;time<99999999;time++); system("color ad");

for(time=0;time<99999999;time++); system("color ae");

for(time=0;time<99999999;time++); system("color af");

for(time=0;time<99999999;time++); }

return 0;

}

希望这段源码会对要在女神节搞动作的属于汪星人的程序猿有所帮助。

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2018-03-08,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 编程范 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档