Submission #3441091
Source Code Expand
/** * purpose : ARC 16 A * author : kyomukyomupurin * created : 2018-10-20 21:00:19 **/ #include <bits/stdc++.h> using namespace std; #define int64 long long int main(){ ios::sync_with_stdio(false); cin.tie(0); int N, M; cin >> N >> M; for (int i = 1; i <= N; ++i){ if (i != M){ cout << i << '\n'; return 0; } } return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - クイズゲーム |
User | kyomukyomupurin |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 430 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_2-1.txt, test_2-2.txt, test_3-1.txt, test_3-2.txt, test_3-3.txt, test_4-1.txt, test_4-2.txt, test_4-3.txt, test_4-4.txt, test_5-1.txt, test_5-2.txt, test_5-3.txt, test_5-4.txt, test_5-5.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
test_2-1.txt | AC | 1 ms | 256 KB |
test_2-2.txt | AC | 1 ms | 256 KB |
test_3-1.txt | AC | 1 ms | 256 KB |
test_3-2.txt | AC | 1 ms | 256 KB |
test_3-3.txt | AC | 1 ms | 256 KB |
test_4-1.txt | AC | 1 ms | 256 KB |
test_4-2.txt | AC | 1 ms | 256 KB |
test_4-3.txt | AC | 1 ms | 256 KB |
test_4-4.txt | AC | 1 ms | 256 KB |
test_5-1.txt | AC | 1 ms | 256 KB |
test_5-2.txt | AC | 1 ms | 256 KB |
test_5-3.txt | AC | 1 ms | 256 KB |
test_5-4.txt | AC | 1 ms | 256 KB |
test_5-5.txt | AC | 1 ms | 256 KB |