#P155. Multiplication table

Multiplication table

題目描述

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

輸入格式

an int: size0<size<10

輸出格式

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

Samples

["5","3","1"]
["1x1=1 \r\n2x1=2 2x2=4 \r\n3x1=3 3x2=6 3x3=9 \r\n4x1=4 4x2=8 4x3=12 4x4=16 \r\n5x1=5 5x2=10 5x3=15 5x4=20 5x5=25 ","1x1=1 \r\n2x1=2 2x2=4 \r\n3x1=3 3x2=6 3x3=9 ","1x1=1 "]

原始資料

  • Zero1 題號:a155
  • Hydro 題號:Z0155
  • Locale:zh_TW
  • Display:open