UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#115437#1654. 打印乘法口诀金字塔Kqhj1000ms1200kbC++229b2020-08-03 19:46:102020-08-03 19:46:12

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

5

output:

5*5=25 
4*4=16 4*5=20 
3*3=9 3*4=12 3*5=15 
2*2=4 2*3=6 2*4=8 2*5=10 
1*1=1 1*2=2 1*3=3 1*4=4 1*5=5 

result:

ok 5 lines

Test #2:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

2

output:

2*2=4 
1*1=1 1*2=2 

result:

ok 2 lines

Test #3:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

9

output:

9*9=81 
8*8=64 8*9=72 
7*7=49 7*8=56 7*9=63 
6*6=36 6*7=42 6*8=48 6*9=54 
5*5=25 5*6=30 5*7=35 5*8=4...

result:

ok 9 lines

Test #4:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

20

output:

20*20=400 
19*19=361 19*20=380 
18*18=324 18*19=342 18*20=360 
17*17=289 17*18=306 17*19=323 17*20=3...

result:

ok 20 lines

Test #5:

score: 20
Accepted
time: 0ms
memory: 1196kb

input:

1

output:

1*1=1 

result:

ok single line: '1*1=1 '