512 - 競程 CPE 班 (2013/09/26) Scoreboard

Time

2013/09/26 19:00:00 2013/09/26 22:00:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
1000 The A+B Problem
5023 Kindergarten Counting Game
5024 Triangle Wave

1000 - The A+B Problem   

Description

Given a,b, output a+b.

Input

a,b<=100000000.

Output

a+b

Sample Input  Download

Sample Output  Download

Tags

4 5 ddd 3 a #include <stdio.h> p klrscpp ? CCY rain orange



Discuss




5023 - Kindergarten Counting Game   

Description

算一算每行有幾個字(word)。
Word的定義是連續的字元(letter: A~Z a~z)所組成的字。

Input

測試資料每筆一行,每行至少有一個字。

Output

Meep Meep!
I tot I taw a putty tat.
I did! I did! I did taw a putty tat.
Shsssssssssh ... I am hunting wabbits. Heh Heh Heh Heh ...

Sample Input  Download

Sample Output  Download

Tags




Discuss




5024 - Triangle Wave   

Description

在這個問題中,根據所給的振幅(Amplitude)及頻率(Frequency),你的程式要產生這樣的波。

Input

輸入的第一列有一個整數n,代表有幾組測試資料。接下來每組測試資料有2列,各有1個正整數(A、F),A代表振幅(A<=9),F代表頻率。
第一列以及各組測試資料間皆有一空白行。請參考Sample input。

Output

每組測試資料請輸出F個波,每個波振幅的水平高度為A。波本身是以其"高度"的內容所組成。每個波之間以一空白行分隔開來。
測試資料間也以一空白行分開。
請參考sample output。

Sample Input  Download

Sample Output  Download

Tags




Discuss