r391. 試算表 (Sheet)
Tags : 遞迴
Accepted rate: 4人/ 4人 ( 100%) [非即時]
評分方式:
Tolerant

最近更新 : 2026-01-02 20:19

Input
Output
Sample Input #1
4 3
2 =B4+1 0
=A1+3 =B1+1 =C2+C3
=A2+1 =B2+1 0
=A3+2 =B3+1 0
Sample Output #1
2 ERROR 0
5 ERROR ERROR
6 ERROR 0
8 ERROR 0
Sample Input #2
3 3
4 =A1+8 =7+A2
=5+8 3 =6+4
=3+A2 5 =C3+C3
Sample Output #2
4 12 20
13 3 10
16 5 ERROR
Sample Input #3
2 2
=1+6 2
4 =6+2
Sample Output #3
7 2
4 8
Sample Input #4
2 2
=B1+B1 0
0 0
Sample Output #4
0 0
0 0
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (5%): 1.0s , <1K
公開 測資點#1 (5%): 1.0s , <1M
公開 測資點#2 (5%): 1.0s , <1M
公開 測資點#3 (5%): 1.0s , <1M
公開 測資點#4 (5%): 1.0s , <1M
公開 測資點#5 (5%): 1.0s , <1M
公開 測資點#6 (5%): 1.0s , <1K
公開 測資點#7 (5%): 1.0s , <1M
公開 測資點#8 (5%): 1.0s , <1M
公開 測資點#9 (5%): 1.0s , <1M
公開 測資點#10 (5%): 1.0s , <1M
公開 測資點#11 (5%): 1.0s , <1M
公開 測資點#12 (5%): 1.0s , <1M
公開 測資點#13 (5%): 1.0s , <1M
公開 測資點#14 (5%): 1.0s , <1M
公開 測資點#15 (5%): 1.0s , <1M
公開 測資點#16 (5%): 1.0s , <1M
公開 測資點#17 (5%): 1.0s , <1M
公開 測資點#18 (5%): 1.0s , <1M
公開 測資點#19 (5%): 1.0s , <1M
Hint :
Tags:
遞迴
出處:
TOI 練習賽 202509 潛力組 第3題 [管理者: liaoweichen1 ... (M_SQRT) ]

Status Forum 排行

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