当前位置:网站首页>1076 Wifi密码 (15 分)
1076 Wifi密码 (15 分)
2022-08-11 06:46:00 【呆比特】
题目要求:

代码:
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
sc.nextLine();
StringBuilder sb = new StringBuilder();
for (int i = 0; i < n; i++) {
String[] s = sc.nextLine().split(" ");
for (int j = 0; j < s.length; j++) {
if (s[j].contains("T")){
sb.append(Integer.valueOf(s[j].charAt(0)) - 64);
}
}
}
System.out.println(sb);
}
}
结果:
边栏推荐
- 【latex异常和错误】Missing $ inserted.<inserted text>You can‘t use \spacefactor in math mode.输出文本要注意特殊字符的转义
- 6月各手机银行活跃用户较快增长,创半年新高
- Trill keyword search goods - API
- MySQL使用GROUP BY 分组查询时,SELECT 查询字段包含非分组字段
- 【@网络工程师:用好这6款工具,让你的工作效率大翻倍!】
- 常见激活函数及其导数
- 【Pytorch】nn.PixelShuffle
- 易观分析联合中小银行联盟发布海南数字经济指数,敬请期待!
- TF中的条件语句;where()
- 详述MIMIC 的ICU患者检测时间信息表(十六)
猜你喜欢

TF中的One-hot

Pico neo3 Unity打包设置

ssh服务攻防与加固

下一代 无线局域网--强健性

Taobao API common interface and acquisition method

基于FPGA的FIR滤波器的实现(5)— 并行结构FIR滤波器的FPGA代码实现

linux 安装mysql服务报错

Resolved EROR 1064 (42000): You have an error in. your SOL syntax. check the manual that corresponds to yo

jar服务导致cpu飙升问题-带解决方法

EasyPlayer针对H.265视频不自动播放设置下,loading状态无法消失的解决办法
随机推荐
break pad源码编译--参考大佬博客的总结
MySQL 版本升级心得
基于FPGA的FIR滤波器的实现(5)— 并行结构FIR滤波器的FPGA代码实现
exness:黄金1800关口遇阻,静待美国CPI出炉
数仓开发知识总结
Daily sql: request for friend application pass rate
李沐d2l(十)--卷积层Ⅰ
What are the things that should be planned from the beginning when developing a project with Unity?How to avoid a huge pit in the later stage?
Unity底层是如何处理C#的
MySQL使用GROUP BY 分组查询时,SELECT 查询字段包含非分组字段
tf中矩阵乘法
daily sql - query for managers and elections with at least 5 subordinates
Pinduoduo API interface (attach my available API)
Daily sql-employee bonus filtering and answer rate ranking first
tf中自减操作;tf.assign_sub()
从何跟踪伦敦金最新行情走势?
基于FPGA的FIR滤波器的实现(4)— 串行结构FIR滤波器的FPGA代码实现
golang fork 进程的三种方式
联想集团:2022/23财年第一季度业绩
Redis测试