摘要: C. Magic Formulastime limit per test:2 seconds memory limit per test:256 megabytesinputstandard inputoutputstandard outputPeople in the Tomskaya regi... 阅读全文
posted @ 2015-12-03 17:18 sCjTyC 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 凡能被3整除的数,其各个数位上的数之和能被3整除 阅读全文
posted @ 2015-12-03 14:13 sCjTyC 阅读(453) 评论(0) 推荐(0) 编辑
摘要: A. Alternative Thinkingtime limit per test2 secondsmemory limit per test256 megabytesKevin has just recevied his disappointing results on the USA Iden... 阅读全文
posted @ 2015-12-03 14:09 sCjTyC 阅读(326) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1421;思路:先将所给的椅子的价值按升序排列,举个例子,四张椅子的价值分别为a,b,c,d(a 2 #include 3 #include 4 #include 5 #include 6 #include 7 co... 阅读全文
posted @ 2015-12-03 10:19 sCjTyC 阅读(213) 评论(0) 推荐(0) 编辑