摘要: 题目描述 Given an integer xx . Your task is to find out how many positive integers nn ( 1<=n<=x1<=n<=x ) satisfy where a,b,pa,b,p are all known constants. 阅读全文
posted @ 2018-02-02 22:02 蒟蒻JHY 阅读(238) 评论(0) 推荐(0)
摘要: Discription This task is very simple. Given a string S of length n and q queries each query is on the format i j k which means sort the substring cons 阅读全文
posted @ 2018-02-02 21:04 蒟蒻JHY 阅读(351) 评论(0) 推荐(0)
摘要: 题目描述 阿申准备报名参加GT考试,准考证号为N位数X1X2....Xn(0<=Xi<=9),他不希望准考证号上出现不吉利的数字。他的不吉利数学A1A2...Am(0<=Ai<=9)有M位,不出现是指X1X2...Xn中没有恰好一段等于A1A2...Am. A1和X1可以为0 输入输出格式 输入格式 阅读全文
posted @ 2018-02-02 17:59 蒟蒻JHY 阅读(314) 评论(0) 推荐(0)
摘要: 题目描述 This year Alex has finished school, and now he is a first-year student of Berland State University. For him it was a total surprise that even tho 阅读全文
posted @ 2018-02-02 17:17 蒟蒻JHY 阅读(413) 评论(0) 推荐(0)
摘要: Read problems statements in Mandarin and Russian. Translations in Vietnamese to be uploaded soon. Nikitosh the painter has a 1-indexed array A of N el 阅读全文
posted @ 2018-02-02 11:17 蒟蒻JHY 阅读(235) 评论(0) 推荐(0)