摘要: J. Grid Beauty time limit per test 3.0 s memory limit per test 256 MB input standard input output standard output J. Grid Beauty time limit per test 3 阅读全文
posted @ 2019-04-20 23:16 叶坚持 阅读(573) 评论(0) 推荐(0)
摘要: 最朴素的求幂方法 也就是平常使用pow函数,最简单的实现就是一直累乘,可以得到这样的代码: 1 int Pow(int a,int b){ 2 3 int ans = 1; 4 5 for(int i = 0;i < b;i++){ 6 7 ans *= a; 8 9 } 10 11 return 阅读全文
posted @ 2019-04-20 22:20 叶坚持 阅读(7381) 评论(5) 推荐(1)
摘要: Problem Description Keke is currently studying engineering drawing courses, and the teacher has taught her how to find its volume through the three vi 阅读全文
posted @ 2019-04-20 00:55 叶坚持 阅读(857) 评论(0) 推荐(0)