From fe618ed6966c49e37610d729c1a719b9ad923c0e Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 11 Jun 2022 20:02:05 +0800 Subject: [PATCH] A - You should output ARC, though this is ABC. https://atcoder.jp/contests/abc255/submissions/32372992 --- AtCoder/ABC255/A/A.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 AtCoder/ABC255/A/A.cpp diff --git a/AtCoder/ABC255/A/A.cpp b/AtCoder/ABC255/A/A.cpp new file mode 100644 index 00000000..bd4d9a34 --- /dev/null +++ b/AtCoder/ABC255/A/A.cpp @@ -0,0 +1,24 @@ +#include + +using std::cin; +using std::cout; +const char endl = '\n'; + +int r, c, a[10][10]; + +int main() { + std::ios::sync_with_stdio(false); + cin.tie(nullptr); + + cin >> r >> c; + + for (int i = 1; i <= 2; i++) { + for (int j = 1; j <= 2; j++) { + cin >> a[i][j]; + } + } + + cout << a[r][c] << endl; + + return 0; +}