摘要: #include<iostream> using namespace std; //使用string字符串解决。 int main(){ string s1,s2; int n; cin>>n; for(int i=0;i<n;i++){ cin>>s1>>s2; if(s1==s2){ cout< 阅读全文
posted @ 2023-08-01 19:18 爱吃泡面的皮卡 阅读(21) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int main(){ int a[105]={},n,b; cin>>n; for(int i=1;i<=n;i++){ cin>>b; a[b+50]++; } for(int i=-50;i<=50;i 阅读全文
posted @ 2023-08-01 19:17 爱吃泡面的皮卡 阅读(18) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> #include <bits/stdc++.h> using namespace std; double a(double n,double x){ if(n==0){ return 1;//结尾条件 }else{ return 阅读全文
posted @ 2023-08-01 19:17 爱吃泡面的皮卡 阅读(41) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> #include <bits/stdc++.h> using namespace std; double a(double n,double x){ if(n==0){ return x; }else{ return sqrt(n 阅读全文
posted @ 2023-08-01 19:15 爱吃泡面的皮卡 阅读(74) 评论(0) 推荐(0)
摘要: #include <iostream> #include <cmath> using namespace std; int main(int argc, char** argv) { system("pause"); double x,y; int c[1][10]; int w; int k; d 阅读全文
posted @ 2023-08-01 09:29 爱吃泡面的皮卡 阅读(27) 评论(0) 推荐(0)