ログイン
新規登録
AtsuoCoder Petrozavodsk Contest 001
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 a38a9fd5-d3bd-47ec-9ed0-433065a343ca
コード
#include <bits/stdc++.h> using namespace std; int main() { int a=p; int p=C; b = a; // aの値がコピーされ、bに10が代入される a = 5; string s ; cout << i << endl; cout << d << endl; cout << s << endl; }
結果
問題
点数
言語
結果
実行時間
メモリ
D - PACMAN
0
C++
WJ
0 ms
0 KiB
コンパイルエラー
Main.cpp: In function 'int main()': Main.cpp:5:9: error: 'p' was not declared in this scope 5 | int a=p; | ^ Main.cpp:6:9: error: 'C' was not declared in this scope 6 | int p=C; | ^ Main.cpp:7:3: error: 'b' was not declared in this scope 7 | b = a; // aの値がコピーされ、bに10が代入される | ^ Main.cpp:11:11: error: 'i' was not declared in this scope 11 | cout << i << endl; | ^ Main.cpp:12:11: error: 'd' was not declared in this scope 12 | cout << d << endl; | ^