ログイン
新規登録
AtsuoCoder Petrozavodsk Contest 001
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 39a827f1-3fda-41ad-81ac-af7241ebcee2
コード
#include <bits/stdc++.h> using namespace std; int main() { string S; char c; cin >> S; for (char &c : S) { if (c == 'A') { c = 'P'; } else if (c == 'C') { c = 'A'; } else if (c == 'P') { c = 'C'; } } S += "MAN"; cout << S << endl; return 0; }
結果
問題
点数
言語
結果
実行時間
メモリ
D - PACMAN
0
C++
WJ
0 ms
0 KiB
コンパイルエラー
Main.cpp:3:1: error: extended character is not valid in an identifier 3 | | ^ Main.cpp:4:1: error: extended character is not valid in an identifier 4 | int main() { | ^ Main.cpp:3:1: error: '\U00003000' does not name a type 3 | | ^~