摘要:
#include<iostream>#include<string>#include<cctype>using namespace std;int main() { string str; cin >> str; int key = 0; int m = 0; for (int i = 0; i < 阅读全文
摘要:
注意数组越界。#include<iostream> #include<cmath> using namespace std; char letter[10001]; void Output(int cap,int type) { int w = 0, l = 0; for (int i = 0; i 阅读全文
摘要:
#include<iostream> using namespace std; int main() { int n; int sum = 0; int num[200]; cin >> n; if (n >= 3 && n <= 100) { for (int a = 0; a < n; a++) 阅读全文
摘要:
自答【119ms内存456.0 KiB】 #include<iostream>using namespace std;int num = 0;void judge(int n, int x) { int t = n % 10; if (n != 0 || t != 0) if (x == t || 阅读全文