当前位置:网站首页>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);
}
}
结果:
边栏推荐
- 技术分享 | 实战演练接口自动化如何处理 Form 请求?
- 《猪猪1984》NFT 作品集将上线 The Sandbox 市场平台
- Douyin API interface
- How to choose professional, safe and high-performance remote control software
- Coordinate system in navigation and positioning
- 那些事情是用Unity开发项目应该一开始规划好的?如何避免后期酿成巨坑?
- Discourse's Close Topic and Reopen Topic
- 一张图了解JVM八大原子操作
- Tensorflow中使用tf.argmax返回张量沿指定维度最大值的索引
- 1688 product interface
猜你喜欢

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

TF中的One-hot

Pinduoduo api interface application example

【软件测试】(北京)字节跳动科技有限公司终面HR面试题

ROS 服务通信理论模型

易观分析联合中小银行联盟发布海南数字经济指数,敬请期待!

How to choose professional, safe and high-performance remote control software

radix-4 FFT principle and C language code implementation

NFT 的价值从何而来

Douyin API interface
随机推荐
MySQL 版本升级心得
软件测试主要做什么工作,难不难?
【软件测试】(北京)字节跳动科技有限公司二面笔试题
Go语言实现Etcd服务发现(Etcd & Service Discovery & Go)
How do you optimize the performance of your Unity project?
联想集团:2022/23财年第一季度业绩
JD.com product details API call example explanation
伦敦银规则有哪些?
prometheus学习4Grafana监控mysql&blackbox了解
Daily sql: request for friend application pass rate
MindManager2022全新正式免费思维导图更新
Find the shops that have sold more than 1,000 yuan per day for more than 30 consecutive days in the past six months
Unity3D learning route?
Taobao API common interface and acquisition method
为什么C#中对MySQL不支持中文查询
tf.reduce_mean()与tf.reduce_sum()
6月各手机银行活跃用户较快增长,创半年新高
Pinduoduo api interface application example
Edge provides label grouping functionality
Coordinate system in navigation and positioning