题解列表
题目 1050: [编程入门]结构体之成绩记录
摘要:解题思路:注意事项:参考代码:#include <stdio.h> void input();void print(); int n;struct information{ char num[10]……
1014: [编程入门]阶乘求和
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll n,……
2825: 计算多项式的值
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll n;……
C++使用Swap函数倒置字符串
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int num = 0;// 读入字符串长度 cin >……
to_string的大作用
摘要:参考代码:#include<bits/stdc++.h>
using namespace std;
#define int long long
bool haoshu(int i)
{
s……
HH的范围是0-23格外注意,开longlong才够10^18!!!
摘要:参考代码:#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main()
{
int t;……
学习s.toCharArray()和new String(chars)
摘要:参考代码:import java.util.Scanner;
public class Main
{
public static void main(String args[])
……