很有趣的ZOJ

2022-07-19 05:57:12 字數 2286 閱讀 5813

是不是zoj不能新增注釋的啊?很奇怪。

這是1057的ac**

#include"stdio.h"

#include"math.h"

int main()

else ;

} printf("a has %d points. b has %d points.\n",aa,bb);

} return 0;

}

新增一行注釋之後

#include"stdio.h"

#include"math.h"

int main()

else ;

} printf("a has %d points. b has %d points.\n",aa,bb);

} return 0;

}

出現這個錯誤資訊
p.c: in function 'main':

p.c:6: error: expected expression before '/' token

p.c:6: error: stray '\344' in program

p.c:6: error: stray '\270' in program

p.c:6: error: stray '\215' in program

p.c:6: error: stray '\346' in program

p.c:6: error: stray '\230' in program

p.c:6: error: stray '\257' in program

p.c:6: error: stray '\345' in program

p.c:6: error: stray '\220' in program

p.c:6: error: stray '\247' in program

p.c:6: error: stray '\357' in program

p.c:6: error: stray '\274' in program

p.c:6: error: stray '\214' in program

p.c:6: error: stray '\346' in program

p.c:6: error: stray '\263' in program

p.c:6: error: stray '\250' in program

p.c:6: error: stray '\351' in program

p.c:6: error: stray '\207' in program

p.c:6: error: stray '\212' in program

p.c:6: error: stray '\344' in program

p.c:6: error: stray '\270' in program

p.c:6: error: stray '\215' in program

p.c:6: error: stray '\350' in program

p.c:6: error: stray '\241' in program

p.c:6: error: stray '\214' in program

p.c:6: error: stray '\347' in program

p.c:6: error: stray '\232' in program

p.c:6: error: stray '\204' in program

p.c:6: error: stray '\345' in program

p.c:6: error: stray '\220' in program

p.c:6: error: stray '\227' in program

p.c:5: warning: unused variable 'j'

p.c:5: warning: unused variable 'n'

然後用/* */注釋之後,錯誤資訊變成
p.cc: in function 'int main()':

p.cc:26: error: 'abs' was not declared in this scope

然後用英文新增注釋
/* cao can you support english*/
出現錯誤資訊
p.cc: in function 'int main()':

p.cc:26: error: 'abs' was not declared in this scope

精美的對聯很有趣笑話

上聯 男生 女生 窮書生 生生不息!下聯 初戀 熱戀 婚外戀 戀戀不捨!橫批 生無可戀 上聯 博士生 研究生 本科生 生生不息!下聯 上一屆 這一屆 下一屆 屆屆失業!橫批 願讀服輸 上聯 金沙江 嘉陵江 黑龍江 江江可投!下聯 實驗樓 教學樓 宿舍樓 樓樓可跳!橫批 空前絕後 上聯 愛國愛家愛師妹...

很有趣的閒話 2020提前的夏天

在2020.1.20那天也許吧,知道公司放假的安排後,我就基本已經預計好了後面的安排,包括離職和畢設時間,當然這2個並不是這次閒話要說的主要內容。那幾天吃飯的時候還在調侃武漢的事情,沒想到現在這麼嚴重了,導致整個計畫全部崩了,現在有點迷茫,先甜後苦,現在在甜這裡呆的太久了。想到有時候你以為的計畫,也...

一種很有趣的SEO方式

我在乙個部落格上進行了嘗試,由於那個部落格上的 實質性的 文章和內容比較少,起到的效果不是很理想。但是由於功能簡單,所以還是放了上去。得出的結論是 如果你的 權重越大,內容越多的話,加上了該功能,將會是乙個非常理想,強大的seo工具。其實說白了,這個技術非常簡單 1,內部必須擁有站內搜尋功能,而且還...