#居然比我的还复杂 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()
WU-判定字符位置 (C++代码)浏览:1471 |
【绝对值排序】 (C语言代码)浏览:892 |
C语言程序设计教程(第三版)课后习题5.6 (C语言代码)浏览:537 |
川哥的吩咐 (C语言代码)浏览:663 |
输出九九乘法表 (C语言代码)浏览:1172 |
C二级辅导-统计字符 (C语言代码)浏览:695 |
C二级辅导-温度转换 (C语言代码)浏览:575 |
蓝桥杯基础练习VIP-报时助手 (C++代码)浏览:1130 |
母牛的故事 (C语言代码)浏览:547 |
【回文数(二)】 (C语言代码)浏览:729 |