欢迎访问我的个人网站==》 jiashubing.cn
摘要: CountDescriptionProf. Tigris is the head of an archaeological team who is currently in charge of an excavation in a site of ancient relics.This site contains relics of a village where civilization once flourished. One night, examining a writing record, you find some text meaningful to you. It reads 阅读全文
posted @ 2013-04-07 22:46 贾树丙 阅读(357) 评论(0) 推荐(0)
摘要: Min NumberDescriptionNow you are given one non-negative integer n in 10-base notation, it will only contain digits ('0'-'9'). You are allowed to choose 2 integers i and j, such that: i!=j, 1≤i 2 # include 3 int main() 4 { 5 int T,n,i,j,k; 6 char s[10010]; 7 char temp; 8 int max,min; 阅读全文
posted @ 2013-04-07 22:39 贾树丙 阅读(299) 评论(0) 推荐(0)
摘要: Monkey and BananaTime Limit:2 Seconds Memory Limit:65536 KBA group of researchers are designing an experiment to test the IQ of a monkey. They will hang a banana at the roof of a building, and at the mean time, provide the monkey with some blocks. If the monkey is clever enough, it shall be able to 阅读全文
posted @ 2013-04-07 07:04 贾树丙 阅读(251) 评论(0) 推荐(0)