05 2012 档案

摘要:Quoit DesignTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14364Accepted Submission(s): 3576Problem DescriptionHave you ever played quoit in a playground? Quoit is a game in which flat rings are pitched at some toys, with all the toys encircled a 阅读全文
posted @ 2012-05-27 18:33 长虹落日
摘要:#include <stdio.h>int main(){ unsigned char result = 1["night"]*2["girls"]+4["allnight"]; char *of_you = "Though you was strong enough and seem never died"; printf("You got %s", result+of_you); return 0;} 结果是:You got died解释:1["night"] 阅读全文
posted @ 2012-05-04 17:47 长虹落日
摘要:#include <stdio.h>#define N 19main(){ int i; for(i=0;i<=N;i++) { printf("%*.*s%-*.*s\n",N,i<=N/2?i:N-i,"*******************",N,i<=N/2?i+1:N -i+1,"*******************"); }} 如果写printf("%s","**********************")相信看得懂%m.ns中间的m.n是对%s的修饰 阅读全文
posted @ 2012-05-04 17:10 长虹落日