摘要:
A Count Task Problem Description Count is one of WNJXYK’s favorite tasks. Recently, he had a very long string and he wondered that how many substrings 阅读全文
摘要:
Problem Description Give you two numbers A and B, if A is equal to B, you should print "YES", or print "NO". Input each test case contains two numbers 阅读全文
摘要:
静态变量static,只进行一次初始化。 include include using namespace std; int main() { for(int i=0;i include int main() { char str[ ]="This , a sample string OK." cha 阅读全文
摘要:
hide handkerchief Problem Description The Children’s Day has passed for some days .Has you remembered something happened at your childhood? I remember 阅读全文
摘要:
C Lucky 7 in the Pocket BaoBao loves number 7 but hates number 4, so he refers to an integer as a "lucky integer" if is divisible by 7 but not divisib 阅读全文
摘要:
B Maximal Continuous Rest Each day in Berland consists of n hours. Polycarp likes time management. That's why he has a fixed schedule for each day — i 阅读全文