摘要:#include using namespace std; bool check(char c)//检查是否为字母或数字 { if(c>='A'&&c='a'&&c='0'&&c count; string str; getline(cin,str); int i = 0; while(i='A'&&str[i]::iterator it=count.begin();it != co...
阅读全文
摘要:#include char radix[13] = {'0','1','2','3','4','5','6','7','8','9','A','B','C'}; int main() { int g,r,b; scanf("%d%d%d",&g,&r,&b); printf("#"); printf("%c%c%c%
阅读全文
摘要:https://www.patest.cn/contests/pat-a-practise/1036
阅读全文
摘要:#include using namespace std; const int N = 100005; struct visitor{ char ID[20]; int in_h,in_m,in_s; int out_h,out_m,out_s; }v[N]; int main(){ int m,i; struct visitor late,early;//最晚,最早 scan...
阅读全文
摘要:1011. World Cup Betting (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue 时间限制 400 ms 时间限制 400 ms 内存限制 65536 kB 内存限制 65536 kB 代
阅读全文
摘要:1009. Product of Polynomials (25) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue This time, you are supposed to find A*B where A
阅读全文
摘要:1065. A+B and C (64bit) (20) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 HOU, Qiming Given three integers A, B and C in [-263, 263], you
阅读全文