a155: Multiplication table
Tags :
Accepted rate : 123人/137人 ( 90% ) [非即時]
評分方式:
Strictly

最近更新 : 2022-08-18 02:50

Content

Multiplication table is an interesting task to check your basic loop programming ability.

Input

an int: size0<size<10

Output

A lower triangle of the multiplication table (Pay attention to "spaces")

Sample Input #1
5
Sample Output #1
1x1=1 
2x1=2 2x2=4 
3x1=3 3x2=6 3x3=9 
4x1=4 4x2=8 4x3=12 4x4=16 
5x1=5 5x2=10 5x3=15 5x4=20 5x5=25 
Sample Input #2
3
Sample Output #2
1x1=1 
2x1=2 2x2=4 
3x1=3 3x2=6 3x3=9 
Sample Input #3
1
Sample Output #3
1x1=1 
測資資訊:
記憶體限制: 64 MB
不公開 測資點#0 (33%): 1.0s , <1K
不公開 測資點#1 (33%): 1.0s , <1K
不公開 測資點#2 (34%): 1.0s , <1K
Hint :
Tags:
出處:
[管理者:
kichan@g.pui... (陳嘉賢CHAN KA IN)
]


ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」