摘要:
#include #include using namespace std; typedef unsigned long long ULL; char str[N]; //存放字符串 int h[N], p[N]; //h[]存放前缀和,p[]存放倍数 ULL get(int l, int r){ 阅读全文
摘要:
#include #include #include using namespace std; const int maxn = 100; struct node{ int x,y; int step; }S,T,Node; int n,m;//n为行,m为列 char maze[maxn][max 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; char s[110][110];//地图 int n,m,sum;//n行,m列 int dir[4][2] = {{1,0},{0,1},{-1,0},{0,-1}};//右、上、左、下 int vis[1 阅读全文
摘要:
#include #include using namespace std; int main() { char s[10]; gets(s); int n=strlen(s); int ans=0; for(int i=0;i<n;i++) { if(s[i]>='A'&&s[i]<='Z') a 阅读全文