#居然比我的还复杂 a = int(input()) b = input() for i in range(a): c,d = map(str, input().split()) if c[0] == 'J': c = c.replace('J', '11') elif c[0] == 'Q': c = c.replace('Q', '12') elif c[0] == 'K': c = c.replace('K', '13') elif d[0] == 'J': d = d.replace('J', '11') elif d[0] == 'Q': d = d.replace('Q', '12') elif d[0] == 'K': d = d.replace('K', '13') def paimian(c, d): if int(c[0]) > int(d[0]): print('YES') elif int(c[0]) < int(d[0]): print('NO') else: print()
C语言训练-求具有abcd=(ab+cd)2性质的四位数 (C语言代码)浏览:562 |
不容易系列2 (C语言代码)浏览:589 |
printf基础练习2 (C语言代码)浏览:941 |
母牛的故事 (C语言代码)浏览:715 |
1908题解浏览:633 |
蚂蚁感冒 (C语言代码)浏览:1319 |
星期判断机 (C语言代码)浏览:859 |
图形输出 (C语言代码)浏览:1375 |
Tom数 (C语言代码)浏览:725 |
小九九 (C语言描述,不看要求真坑爹)浏览:984 |