Submission #5433558
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a - b + 1 << endl;
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Consecutive Integers |
| User | eggeek |
| Language | C++14 (GCC 5.4.1) |
| Score | 100 |
| Code Size | 139 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 256 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt |
| All | rand_01.txt, rand_02.txt, rand_03.txt, rand_04.txt, rand_05.txt, rand_06.txt, rand_07.txt, sample_01.txt, sample_02.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| rand_01.txt | AC | 1 ms | 256 KiB |
| rand_02.txt | AC | 1 ms | 256 KiB |
| rand_03.txt | AC | 1 ms | 256 KiB |
| rand_04.txt | AC | 1 ms | 256 KiB |
| rand_05.txt | AC | 1 ms | 256 KiB |
| rand_06.txt | AC | 1 ms | 256 KiB |
| rand_07.txt | AC | 1 ms | 256 KiB |
| sample_01.txt | AC | 1 ms | 256 KiB |
| sample_02.txt | AC | 1 ms | 256 KiB |