Skip to content Skip to blog sidebar

Yui Huang

演算法學習筆記

  • HOME
  • C++ Syntax
  • Algorithms
  • Problem Sets
  • APCS
  • CPE
  • About Me

【題解】AtCoder Nomura 2020 B – Postdocs

Posted on: 2020-05-31 | By: YuiHuang

【題目敘述】https://atcoder.jp/contests/nomura2020/tasks/nomura2020_b

#include <iostream>
using namespace std;

string s;

int main() {
    cin >> s;
    for (char &i:s){
        if (i == '?') i = 'D';
    }
    cout << s;
}

Post Views: 360
分享本文 Share with friends
Filed Under: Filed Under:解題心得

Statistics

  • 18,877
  • 1,326

By Category

© 2026 Yui Huang. All Rights Reserved.  
  • HOME
  • C++ Syntax
  • Algorithms
  • Problem Sets
  • APCS
  • CPE
  • About Me