摘要:
#include <bits/stdc++.h> using namespace std; int gcd(int a,int b) { if(b==0){ return a; }else{ return gcd(b,a%b); } } int main() { string n; getline( 阅读全文
该文被密码保护。 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; bool greater3(int value){ return value>3; } int main(){ vector<int> v; int arr[] = {1,2,3,4,5}; vector<i 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int ant = 0; int a1,b1,a2,b2; int m = 10000; int x1,yo; char c[1000][1000]; char d[1000][1000]; void bfs 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; string d[n+5],e[n+5]; double b[n+5],c[n+5]; long long a[n+5]; for(int i = 1; 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; string a[n+5],b[n+5],d[n+5]; long long c[n+5]; string b1[n+5],b2[n+5]; for(i 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int f(int x){ int ant = 0; while(x){ x /= 10; ant++; } return ant; } int main() { int n; cin>>n; int a[n 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; string n; string a[] = {"","one","two","three","four","five","six","seven","eight","nine","ten","eleven" 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; int main(){ int l,n,m; cin>>l>>n>>m; int a[n+5]; for(int i = 1;i<=n;i++){ cin>>a[i]; } long left = 1,righ 阅读全文