题解列表
感谢支持,谢谢你们的支持
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n ; cin>>a>>n; ……
简单的a+b (C语言代码)(对~字符的一些解释)
摘要:解题思路:
难点也就在于多次输入,也就是写个循环,还有循环终止的条件
```c
#include
int main()
{
int a,b;
while(~scanf("……
2814: 正常血压(C语言)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][2]; int i,j; for(i=0;i<n……
1118: Tom数,简洁易懂
摘要:##1118: Tom数,简洁易懂
```cpp
#include
using namespace std;
int main(){
long long a;//注意,这里要用long l……
奖学金(利用结构体和sort)
摘要:解题思路:注意事项:参考代码:#include <iostream>
#include <algorithm>//利用sort排序
using namespace std;
struct St……
1000: [竞赛入门]简单的a+b (python代码)
摘要: while True:
#while True 语句中一定要有结束该循环的break语句,否则会一直循环下去的
try:
#Python 中,用try except语句块捕获……