1990 - PME-mid1-rehearsal Scoreboard

Time

2020/04/14 15:00:00 2020/04/14 16:30:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
11318 CS Simple 001
12217 PME mid1_q2
12707 PME-practice

11318 - CS Simple 001   

Description

Given an M-by-N integer matrix, compute the maximum column sum.


[Example]

For example, if the input is a 3-by-4 matrix containing
3 2 4 5
2 8 3 7
3 1 5 6

The maximum column sum is 18 (=5+7+6).

 

Input

The first line of the input contains two integers M and N indicating the size of the integer matrix (M for row and N for column, 0 < M, N< 10).

Next M lines list the elements of the matrix row by row. All elements are integers.

Output

The output contains an integer indicating the maximum column sum. There is NO newline character at the end of line.

 

Sample Input  Download

Sample Output  Download

Tags




Discuss




12217 - PME mid1_q2   

Description

排序問題,將數列排序並輸出。

OJ Input: 10組數值,數值均為整數。每個數值之間以空白隔開。第一個數值前面及最後一個數值後面沒有空白。

Output: 將數值依照遞減方式排列輸出。每個數值之間請以空白隔開。第一個數值前面及最後一個數值後面沒有空白。

***請務必注意輸出的格式是否正確,錯誤的格式會導致OJ驗證失敗。

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss




12707 - PME-practice   

Description

Draw a filled isosceles triangle using for loop and asterisk character:
 
    *
   ***
  *****
 *******
*********
Input : H (the height of the isosceles triangle)
Output : The filled isosceles (每一行的最後一個星號輸出後面都沒有換行,也沒有空白等字元)

Input

Output

Sample Input  Download

Sample Output  Download

Tags




Discuss