摘要: acm.tju.edu.cn原题 During his last sabbatical, professor M. A. Ya made a surprising discovery about the old Maya calendar. From an old knotted message, 阅读全文
posted @ 2020-03-11 23:21 skye_0207 阅读(190) 评论(0) 推荐(0)
摘要: acm.tju.edu.cn原题 This is the first problem for test. Since all we know the ASCII code, your job is simple: Input numbers and output corresponding mess 阅读全文
posted @ 2020-03-11 22:30 skye_0207 阅读(256) 评论(0) 推荐(0)
摘要: 一、题目重现 题目: 有一个数组a[N]顺序存放0~N-1,要求每隔两个数删掉一个数,到末尾时循环至开头继续进行,求最后一个被删掉的数的原始下标位置。以8个数(N=7)为例:{0,1,2,3,4,5,6,7},0->1->2(删除)->3->4->5(删除)->6->7->0(删除),如此循环直到最 阅读全文
posted @ 2020-03-09 23:01 skye_0207 阅读(553) 评论(0) 推荐(1)