这次是用MFC+OpenGL写的,代码没法全部贴上,上传到下载栏目里好了。点击打开下载链接(现在好像不能上传0积分下载的东西了QAQ)
Then there are k lines with 2 integers x and y in each line, which means the x-t...
The input contains several test cases, one test case per line. Each test case co...
Each case contains N on the first line, Mi(1 <= i <= N) on the second line, and ...
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/...
The output will consist of one line for each line of input giving the exact valu...
The first line contains an integer indicating the total number of test cases...
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Ot...
The first line contains one integer t, represents the number of test cases. Then...
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Ot...
The first line of each data set contains three decimals that give lengths of the...
For each test case in the input first output the test case number (starting from...
time limit per test
User ainta has a permutation p1, p2, ..., pn. As the New Year is coming, he wan...
You are given an array of n elements, you must make it a co-prime array in as f...
The first line contains integer n (3 ≤ n ≤ 105). The second line contains n spac...
Nothing has changed since the last round. Dima and Inna still love each other a...
The first line of the input contains integer n (3 ≤ n ≤ 100). The second line co...
There are n pictures delivered for the new exhibition. The i-th painting has be...