摘要: 1 typedef struct Version 2 { 3 vector vec; 4 }Version; 5 int cmp(Version a,Version b) 6 { 7 int i; 8 int la=a.vec.size(),lb=b.vec.size();... 阅读全文
posted @ 2015-06-11 13:55 varcom 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution { 2 public: 3 int trailingZeroes(int n) { 4 int ans=0; 5 while(n) 6 { 7 ans+=n/5; 8 ... 阅读全文
posted @ 2015-06-11 10:57 varcom 阅读(107) 评论(0) 推荐(0) 编辑