摘要:
1.error C2109: subscript requires array or pointer type根本的问题是全局变量和局部变量重名了全局变量b[MAX]局部变量b默认在函数体里面使用的是局部变量b[i]就出错了可在前面加:: 表示使用的是全局变量要不然就改名,使之不重名2.err... 阅读全文
摘要:
Moving TablesTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 21Accepted Submission(s) : 11Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description The famous ACM (Advanced Computer Maker) Company has rented a floor of a building wh 阅读全文
摘要:
An Easy TaskTime Limit : 2000/1000ms (Java/Other)Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1Accepted Submission(s) : 1Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem Description Ignatius was born in a leap year, so he want to know when he could hold his birthday pa 阅读全文