当前位置:网站首页>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);
}
}
结果:
边栏推荐
- How Unity handles C# under the hood
- opencv实现数据增强(图片+标签)平移,翻转,缩放,旋转
- Tidb二进制集群搭建
- Discourse 的关闭主题(Close Topic )和重新开放主题
- How do you optimize the performance of your Unity project?
- 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
- DDR4内存条电路设计
- 基于FPGA的FIR滤波器的实现(5)— 并行结构FIR滤波器的FPGA代码实现
- 易观分析联合中小银行联盟发布海南数字经济指数,敬请期待!
- Pico neo3在Unity中的交互操作
猜你喜欢

1051 Multiplication of Complex Numbers (15 points)

A used in the study of EEG ultra scanning analysis process

【推荐系统】:协同过滤和基于内容过滤概述
2.1-梯度下降

1076 Wifi密码 (15 分)

Strongly recommend an easy-to-use API interface

语音信号处理:预处理【预加重、分帧、加窗】

1002 写出这个数 (20 分)

一张图了解JVM八大原子操作

Implementation of FIR filter based on FPGA (5) - FPGA code implementation of parallel structure FIR filter
随机推荐
1096 大美数 (15 分)
深度监督(中继监督)
1076 Wifi密码 (15 分)
1046 punches (15 points)
1071 小赌怡情 (15 分)
pytorch,numpy两种方法实现nms类间+类内
1002 写出这个数 (20 分)
一张图了解JVM八大原子操作
进制转换间的那点事
tf.cast(), reduce_min(), reduce_max()
How do you optimize the performance of your Unity project?
常见激活函数及其导数
1061 判断题 (15 分)
Unity3D 学习路线?
How to choose professional, safe and high-performance remote control software
3.2-分类-Logistic回归
从苹果、SpaceX等高科技企业的产品发布会看企业产品战略和敏捷开发的关系
NFT 的价值从何而来
2022-08-09 第四小组 修身课 学习笔记(every day)
关于Excel实现分组求和最全文档