当前位置:网站首页>1076 Wifi Password (15 points)
1076 Wifi Password (15 points)
2022-08-11 07:48:00 【dumb bit】
题目要求:
代码:
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);
}
}
结果:
边栏推荐
- 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?
- 1003 我要通过 (20 分)
- TF中的四则运算
- There may be fields that cannot be serialized in the abnormal object of cdc and sqlserver. Is there anyone who can understand it? Help me to answer
- 1046 punches (15 points)
- 4.1-支持向量机
- pytorch,numpy两种方法实现nms类间+类内
- How Unity programmers can improve their abilities
- Pinduoduo API interface
- TF中使用softmax函数;
猜你喜欢
随机推荐
1061 判断题 (15 分)
项目2-年收入判断
Item 2 - Annual Income Judgment
网络电话软件或迎整顿 “免费”通话须迈安全关
Unity底层是如何处理C#的
1.2-误差来源
1071 小赌怡情 (15 分)
2022-08-10 第四小组 修身课 学习笔记(every day)
Discourse's Close Topic and Reopen Topic
golang fork 进程的三种方式
1076 Wifi密码 (15 分)
3.2-分类-Logistic回归
1046 punches (15 points)
oracle19c不支持实时同步参数,请教一下大佬们有什么好的解决办法吗?
tf中矩阵乘法
2022-08-09 Group 4 Self-cultivation class study notes (every day)
NFT 的价值从何而来
1101 B是A的多少倍 (15 分)
Redis source code-String: Redis String command, Redis String storage principle, three encoding types of Redis string, Redis String SDS source code analysis, Redis String application scenarios
软件测试主要做什么工作,难不难?