赵乐ACM

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年4月21日

摘要: 1. 无数遍TLE的题,快疯了,最后没办法,只能看别人的代码,最好的一个代码,写了下来,但是还有一点地方不太明白,这是一种新的方法,以下是代码/* ID: dollar4 PROG: pprime LANG: C++ */ #include #include #include #include #include using namespace std; int modify(int x) { int t = x; x /= 10; while (x > 0) { t = t * 10 + x % 10; x /= 10... 阅读全文
posted @ 2012-04-21 21:56 赵乐ACM 阅读(192) 评论(0) 推荐(0) 编辑