#24961: 這題應該是 LCS


allllllan123456 (God of Computer Science)

School : 國立臺灣大學
ID : 13732
IP address : [140.109.20.138]
Last Login :
2021-07-08 17:41:52
a676. 00111 - History Grading -- UVa111 | From: [123.194.139.84] | Post Date : 2021-04-07 20:51

覺得標籤標錯,這題應該是 LCS,而且輸入還要經過轉換:

for (int i=0; i<n; i++) {

    cin >> t;

    a[t-1] = i;

}

 
ZeroJudge Forum