Nicole_jian
Nicole_jian
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Nicole_jian的博客
全部文章
(共104篇)
题解 | #进制A+B#
#include <iostream> #include <string> #include <cstdlib> int hexToDec(const std::string& hexStr) { return std::strtol(hexSt...
2024-05-23
0
146
题解 | #简单计算器#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-05-23
0
174
题解 | #牛牛的对齐#
#include <iomanip> #include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; c...
2024-05-23
0
127
题解 | #及格分数#
#include <iostream> using namespace std; int main() { int score; while (cin >> score) { if (score >= 60) { ...
2024-05-23
0
140
题解 | #按照格式输入并交换输出#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2024-05-23
0
151
题解 | #判断一个数是不是质数#
#include <iostream> int main() { int num; std::cin >> num; bool isPrime = true; for (int i = 2; i * i <= num; i++) {...
2024-05-23
0
149
题解 | #判断身材状态#
#include <iostream> std::string getBodyType(double weight, double height) { double bmi = weight / (height * height); if (bmi < 18.5...
2024-05-23
0
162
题解 | #两数求和#
#include <iostream> int main() { int a, b; std::cin >> a >> b; int sum = a + b; std::cout << sum << st...
2024-05-22
0
131
题解 | #定义变量#
#include <iostream> int main() { char c; int i; long l; double d; std::cout << sizeof(c) << std::endl; st...
2024-05-22
0
126
题解 | #打印文件的最后5行#
#!/bin/bash tail -n 5 nowcoder.txt
2024-05-22
0
131
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页