為響應黨的二十大「創新是第一動力」的精神,激發本院同學對編程的熱情,感受k8凯发国际的獨特魅力。12月29日,由武漢紡織大學k8凯发国际與人工智能學院團委學生會成長服務部承辦,學術科技部、媒體運營部協辦的「獻禮二十大,三行代碼寫情詩大賽」進入了優秀作品展示和評選環節。
大賽一經推出,就得到了全院學生的關注。截止今日,大賽組委會已經收到了多份參賽作品。在經過評審小組層層篩選後,我們對優秀參賽作品進行了展示和投票,下面,讓我們一起來感受一下程式設計師的浪漫吧。
作品一:《愛黨,愛國》
#include<iostream>
using namespace std;
//一生信仰,一世跟隨,無限榮耀。
int main()
{
string Mylife,Myheart;
if((Mylife=="belief")&&(Mylife="I follow"))//一生信仰,一世跟隨
Myheart="infinite honor";//無限榮耀
return 0;
}
作品介紹:該代碼表達了我們作為入黨持续分子,時刻銘記肩負的責任,對黨對國家的熱愛,踐行初心與使命,一生信仰,一世跟隨,無限榮耀。
作品二:《My Love to China》
window.onload=function Mymind(){ //頁面加載執行就像我從出生就愛國
var date=new Date(1949-10-01);
console.log(date);
if((prompt()=='china')==true){ //只有輸入China才能繼續,表達了對China的愛
function Myeye(){
var yesterday=1,tomorrow=520;
for(var i=yesterday;i<=tomorrow;i++){
console.log('china');
}
}
}else{
alert("I cann't contain others!"); //否則彈出.....,表達我的愛只為你
}
}
作品介紹:There isn』t anything in my heart and mind,but China!
At first,it records the birthday of you!
The 『if』 and the 『520』 express my love!
And my love to you is from yesterday to tomorrow!
作品三:《餘生與愛》
int time,love,I,You;
if(time!=0)
I + You = time;
if(time==0)
for(love=1;love>time;love++)
作品介紹:
如果有餘生
餘生與你;
如果沒有餘生;
我們的愛意長存;
作品四:《我和我的祖國》
int main(){
int motherland,anything,love,day;
if(motherland==0){
anything=0;}
for(day=0;day<100;day++){
love++;}
printf(「我和我的祖國一刻也不能分割」);
return 0;
}
作品介紹:
如果沒有祖國
就沒有現在的一切
隨着時間的飄逝
我對祖國的愛逐漸加深
我想說
我和我的祖國一刻也不能分割
作品五:《我好像在哪見過你》
for(i=-∞;i<+∞;i++)
{printf ("lit up the fire of happy");}
if(you->next.me)
printf(「dream.」);
if (love==hard)
printf ("Bury love into the soil");
作品介紹:
所以到哪裏都像快樂被燃起
就好像你曾在我隔壁的班級
人們把難言的愛都埋進土壤里
作品六:《山河雖無恙,吾輩當自強》
int year;
char string[73] youth,homeland;
for(year=1840;;year++)
{
if(year<=1949)
{
homeland="be attacked";
youth="self-improvement";
}
else
homeland="safe";
}
作品介紹:
山河雖無恙,吾輩當自強
1840年鴉片戰爭揭開了近代中國人民反抗外來侵略的歷史新篇章,我們的祖國受到了外來勢力的攻擊。中國人民逐漸覺醒,中國青年自強自立,忠心報國。
直到1949年新中國创建,中國走上了獨立、民主、統一的道路,我們的祖國終於相對安穩,
雖然山河已無恙,但我們中國青年仍然需要自強自立,丹心報國。
該循環沒有判斷條件,循環不會退出,意味着歷史的年輪將不斷向前,中國青年當永遠自強;也代表了我們對於中國永遠處於和平下的希望。
作品七:《生於中國很幸運》
#include<stdio.h>
#include<string.h>
int main()
{
char nationality[6],*life="bitter";
gets(nationality);
while(strcmp(nationality,"china")==0)
printf("life=lucky");
return 0;
}
作品介紹:生活很苦,但是生活在中國是無限的幸運
作品八:《想你》
char *LZX[52]={"when I start writing love letters","can't help but wander","don't get a lot of words","miss you"};
int i;
while(1)
{
for(i=0;i<4;i++)
puts(*(LZX+i));
break;
}
作品介紹:
從我拿起筆準備寫情書開始,
總是忍不住走神,
話沒寫出來幾句,
滿腦子都在想你。
作品九:《祖國&家庭》
stringcountry=「China」;
while(country)
{
country=n*family; //國是千萬家,
family++; //有國才有家!
cout << 「Always go with the Communist Party of China,」 << endl;//永遠跟黨走,
cout << 」forge ahead on a new journey」 << endl;//奮進新徵程!
}
作品介紹:沒有國家繁榮开展就沒有小家的美滿幸福。只要國家強大了,家就幸福了,離開了」家」不成國;有了國,我們才能安心的生活,工作!
作品十:《一心只向你》
stringword[6]={"5","2","愛","0","永遠","我"};
stringyou="你",yourlovername,*me;
me=&you;cin>>yourlovername;
word[0]=*me;inta,b,c;
cout<<"請輸入520"<<endl;
cin>>a>>b>>c;
cout<<word[a]<<word[b]<<word[c]<<yourlovername<<endl;
作品介紹:
我得到你的地址,
只為一聲我愛你。