当前位置:网站首页>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);
}
}
结果:
边栏推荐
- Pytorch模型转ONNX模型
- ssh服务攻防与加固
- Pinduoduo API interface
- How Unity programmers can improve their abilities
- redis操作
- 【推荐系统】:协同过滤和基于内容过滤概述
- 微信小程序功能上新(2022.06.01~2022.08.04)
- Redis + lua implements distributed interface current limiting implementation scheme
- Daily sql--statistics the total salary of employees in the past three months (excluding the latest month)
- tf中矩阵乘法
猜你喜欢
随机推荐
prometheus学习5altermanager
从苹果、SpaceX等高科技企业的产品发布会看企业产品战略和敏捷开发的关系
TF通过feature与label生成(特征,标签)集合,tf.data.Dataset.from_tensor_slices
Daily SQL - find each of the students school gpa minimum (window)
Unity3D learning route?
Production and optimization of Unity game leaderboards
Daily sql--statistics the total salary of employees in the past three months (excluding the latest month)
Edge provides label grouping functionality
为什么我使用C#操作MySQL进行中文查询失败
联想集团:2022/23财年第一季度业绩
Pinduoduo api interface application example
LeetCode刷题系列 -- 46. 全排列
基于FPGA的FIR滤波器的实现(5)— 并行结构FIR滤波器的FPGA代码实现
从何跟踪伦敦金最新行情走势?
详述MIMIC 的ICU患者检测时间信息表(十六)
Douyin get douyin share password url API return value description
Internet phone software or consolidation of attack must be "free" calls security clearance
SQL sliding window
NTT的Another Me技术助力创造歌舞伎演员中村狮童的数字孪生体,将在 “Cho Kabuki 2022 Powered by NTT”舞台剧中首次亮相
pytorch,numpy两种方法实现nms类间+类内