TensorFlow 2 文档 TensorFlow 2 教程 Python 简明教程 Go 语言简明教程 Go 面试题 Go 高性能编程

摘要: Time Limit:1000MS Memory Limit:32768KB Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, th 阅读全文
posted @ 2015-02-24 10:52 呆尐兔兔 阅读(462) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MS Memory Limit:32768KB Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. 阅读全文
posted @ 2015-02-24 01:56 呆尐兔兔 阅读(359) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MS Memory Limit:32768KB Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum 阅读全文
posted @ 2015-02-24 00:29 呆尐兔兔 阅读(294) 评论(0) 推荐(0) 编辑
摘要: Time Limit:500MS Memory Limit:32768KB Description ​Hey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, your task is to calc 阅读全文
posted @ 2015-02-23 15:49 呆尐兔兔 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Time Limit:1000MS Memory Limit:32768KB Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output 阅读全文
posted @ 2015-02-23 15:38 呆尐兔兔 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 103. Traffic Lights Time limit per test: 0.25 second(s) Memory limit: 4096 kilobytes 题解: 1、其实就是求两点间的最短路,不过加了交通灯的限制,使得两点间的所需时间并不只是由路程决定。 2、只有一条路两个端点的交通 阅读全文
posted @ 2015-02-21 01:27 呆尐兔兔 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 102. Coprimes time limit per test: 0.25 sec. memory limit per test: 4096 KB 题解: 求一个1-10000之间的数 N 的互质数个数。题目很简单,有两种方法: 1、复杂度是O(n^2),依次判断从1到N-1的数是否与N互质。 阅读全文
posted @ 2015-02-21 00:55 呆尐兔兔 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 101. Domino time limit per test: 0.25 sec. memory limit per test: 4096 KB 题解: 求多米诺骨牌按照一定方式放置能否使相邻的位置数字相同。其实就是求无向图的欧拉通路,dfs即可。 但需要注意以下几点: 1、注意是否是连通图。 2 阅读全文
posted @ 2015-02-21 00:39 呆尐兔兔 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 100.A+B time limit per test: 0.25 sec. memory limit per test: 65536 KB 题解:上手题,不解释。 直接上代码: #include <iostream> using namespace std; int main(){ int a, 阅读全文
posted @ 2015-02-20 23:26 呆尐兔兔 阅读(184) 评论(0) 推荐(0) 编辑