摘要:
A. Diagonal Walking time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Diagonal Walking t 阅读全文
posted @ 2018-04-18 19:57
Roni_i
阅读(140)
评论(0)
推荐(0)
摘要:
B. Powers of Two B. Powers of Two You are given n integers a1, a2, ..., an. Find the number of pairs of indexes i, j (i < j) that ai + aj is a power o 阅读全文
posted @ 2018-04-18 18:17
Roni_i
阅读(313)
评论(0)
推荐(0)
摘要:
#include<bits/stdc++.h> using namespace std; #define ll long long #define maxn 100010 /* 已知一个序列A1.A2….An,给你一个整数K,找到满足所有Ai+Aj>=k的数对(i,j)的个数 */ int main 阅读全文
posted @ 2018-04-18 18:05
Roni_i
阅读(1013)
评论(0)
推荐(0)
摘要:
D. Black Hills golden jewels time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit 阅读全文
posted @ 2018-04-18 17:14
Roni_i
阅读(356)
评论(0)
推荐(0)
摘要:
1105 第K大的数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 关注 1105 第K大的数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 1105 第K大的数 基准时间限制:1 秒 空间限制:131072 KB 分 阅读全文
posted @ 2018-04-18 00:17
Roni_i
阅读(368)
评论(0)
推荐(0)