PAT-乙-1031 1031 查驗身份證 (15 分)

代碼 #include <iostream> using namespace std; int main() { int weight[] = {7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2}; char check[] = {'1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2
相關文章
相關標籤/搜索