摘要:
A - Preparations Before Departure 【题目来源】 AtCoder:A - Preparations Before Departure 【题目描述】 Takahashi is preparing so that he won't be late for a meetin 阅读全文
摘要:
A - Product Quality Evaluation 【题目来源】 AtCoder:A - Product Quality Evaluation 【题目描述】 Takahashi is in charge of quality control at a factory. This facto 阅读全文
摘要:
A - Organization the Bookshelf 【题目来源】 AtCoder:A - Organizing the Bookshelf (atcoder.jp) 【题目描述】 Takahashi works at a library. On a bookshelf in the lib 阅读全文
摘要:
A - Bacteria Growth Experiment 【题目来源】 AtCoder:A - Bacteria Growth Experiment 【题目描述】 Takahashi is conducting a bacteria growth experiment in a biology 阅读全文
摘要:
代码技巧 11、8的倍数 // 11的倍数:奇数位之和 与 偶数位之和 的差是11的倍数 for (int i=0; i<a.size(); i++) { if (i%2==0) ji += a[i]-'0'; else ou += a[i]-'0'; } if ((ji-ou)%11==0) co 阅读全文