上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页
摘要: E 判断是否有死循环 #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstre 阅读全文
posted @ 2020-06-01 22:59 DeaL57 阅读(272) 评论(0) 推荐(0) 编辑
摘要: Ayush and Ashish play a game on an unrooted tree consisting of nn nodes numbered 11 to nn. Players make the following move in turns: Select any leaf n 阅读全文
posted @ 2020-06-01 22:44 DeaL57 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Given is a string SS consisting of digits from 1 through 9. Find the number of pairs of integers (i,j)(i,j) (1≤i≤j≤|S|1≤i≤j≤|S|) tha 阅读全文
posted @ 2020-05-30 15:53 DeaL57 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 2 sec / Memory Limit: 1024 MB Score : 300300 points Problem Statement Given are positive integers NN, MM, QQ, and QQ quadruples of integer 阅读全文
posted @ 2020-05-30 15:04 DeaL57 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Today, Osama gave Fadi an integer XX, and Fadi was wondering about the minimum possible value of max(a,b)max(a,b) such that LCM(a,b)LCM(a,b) equals XX 阅读全文
posted @ 2020-05-29 22:59 DeaL57 阅读(186) 评论(0) 推荐(0) 编辑
摘要: During the quarantine, Sicromoft has more free time to create the new functions in "Celex-2021". The developers made a new function GAZ-GIZ, which inf 阅读全文
posted @ 2020-05-27 07:44 DeaL57 阅读(609) 评论(0) 推荐(0) 编辑
摘要: Anu has created her own function ff: f(x,y)=(x|y)−yf(x,y)=(x|y)−y where || denotes the bitwise OR operation. For example, f(11,6)=(11|6)−6=15−6=9f(11, 阅读全文
posted @ 2020-05-26 12:05 DeaL57 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Your company was appointed to lay new asphalt on the highway of length nn. You know that every day you can either repair one unit of the highway (lay 阅读全文
posted @ 2020-05-26 10:57 DeaL57 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Bessie the cow has just intercepted a text that Farmer John sent to Burger Queen! However, Bessie is sure that there is a secret message hidden inside 阅读全文
posted @ 2020-05-26 09:05 DeaL57 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Suppose you are performing the following algorithm. There is an array v1,v2,…,vnv1,v2,…,vn filled with zeroes at start. The following operation is app 阅读全文
posted @ 2020-05-26 00:33 DeaL57 阅读(152) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 26 下一页