摘要:        
Problem Description There are n courses in the course selection system of Marjar University. The i-th course is described by tw...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(14)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Problem Description Ray又对数字的列产生了兴趣: 现有四张卡片,用这四张卡片能排列出很多不同的4位数,要求按从小到大的顺序输出这些4位数。 Input 每组数据占一行,代表四张卡片上的数字(0#include#include...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(129)
评论(0)
推荐(0)
        
            
        
        
摘要:        
【题目描述】 小城和小华都是热爱数学的好学生,最近,他们不约而同地迷上了数独游戏,好胜的他们想用数独来一比高低。但普通的数独对他们来说都过于简单了,于是他们向Z 博士请教,Z 博士拿出了他最近发明的“靶形数独”,作为这两个孩子比试的题目。 靶形数独的方...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(100)
评论(0)
推荐(0)
        
            
        
        
摘要:        
题目 小b有一个长度为n的序列t,现在她对于每个i,求最小的正数j满足i+j≤n且ti+j>ti,输出j,如果不存在这样的j,则输出0。 样例解释: 对于i=1,t2>t1,所以最小的j=1; 对于i=7,不存在这样的j,所以输出0。 输入 第...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(7)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Problem Description We have a grid with H rows and W columns. At first, all cells were painted white. Snuke painted N of these...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(0)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Problem Description You are given a string S consisting of digits between 1 and 9, inclusive. You can insert the letter + into ...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(20)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Problem Description N hotels are located on a straight line. The coordinate of the i-th hotel (1≤i≤N) is xi. Tak the traveler ...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(40)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Problem Description For integers b(b≥2) and n(n≥1), let the function f(b,n) be defined as follows: f(b,n)=n, when nn 时,无解,输出 -...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(92)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Problem Description Tak has N cards. On the i-th (1≤i≤N) card is written an integer xi. He is selecting one or more cards from ...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(16)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Problem Description 12:17 (UTC): The sample input 1 and 2 were swapped. The error is now fixed. We are very sorry for your inco...    阅读全文
posted @ 2022-09-20 22:55
老程序员111
阅读(15)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号