06 2017 档案
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int main() 9 { 10 sets; 11 cout > n; 14 for (int i = 0; i > temp; 18 s.insert(temp)...
阅读全文
摘要:k-th divisor You are given two integers n and k. Find k-th smallest divisor of n, or report that it doesn't exist. Divisor of n is any such natural nu
阅读全文
摘要:通信道路 某国正面临严峻的局势,为了确保国内秘密文件传输的安全,该国政府需要统计出国内城市间的通信情况。如果某文件从一个城市送到另一个城市途中恰好只经过两个城市,并且途中的城市没有重复,那么就可以认为该文件的传输是安全的,并且文件传输的起点城市和终点城市可以相同。例如下图所示中,文件传输线路BàCà
阅读全文
摘要:Shortest path of the king time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output Shortest path of
阅读全文

浙公网安备 33010602011771号