Submission #953981
Source Code Expand
#include <iostream> #include <algorithm> #include <cmath> #include <cstdio> #include <set> #include <map> #include <unordered_map> #include <vector> #include <queue> #include <string> #include <iomanip> #include <stdio.h> #include <cstring> #include <random> #include <chrono> #include <bitset> #include <fstream> #include <sstream> using namespace std; typedef long long ll; typedef long double ld; ll big = 1000000007ll; float likeabutterfly; string likeabee; ll n,m,q,h,k,w; ll T; vector<ll> A; int main() { ll c1,c2,c3,c4,c5,c6; ll a,b,d,e,c; ll x,y,z; //freopen("input.txt","r",stdin); //freopen("output.txt","w",stdout); cin >> n >> x; if(n != x){ cout << "No\n"; } else{ cout << "Yes\n"; for(c1 = 0; c1 < 2*n-1; c1++){ cout << c1+1 << "\n"; } } return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - Median Pyramid Easy |
User | nigus |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 921 Byte |
Status | WA |
Exec Time | 21 ms |
Memory | 1536 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 400 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt |
All | 0_00.txt, 0_01.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt, 1_08.txt, 1_09.txt, 1_10.txt, 1_11.txt, 1_12.txt, 1_13.txt, 1_14.txt, 1_15.txt, 1_16.txt, 1_17.txt, 1_18.txt, 1_19.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 3 ms | 256 KB |
0_01.txt | AC | 2 ms | 256 KB |
1_00.txt | AC | 2 ms | 256 KB |
1_01.txt | AC | 3 ms | 256 KB |
1_02.txt | AC | 3 ms | 256 KB |
1_03.txt | AC | 3 ms | 256 KB |
1_04.txt | WA | 3 ms | 256 KB |
1_05.txt | AC | 2 ms | 256 KB |
1_06.txt | WA | 3 ms | 256 KB |
1_07.txt | AC | 2 ms | 256 KB |
1_08.txt | AC | 3 ms | 256 KB |
1_09.txt | WA | 3 ms | 256 KB |
1_10.txt | WA | 3 ms | 256 KB |
1_11.txt | AC | 21 ms | 1536 KB |
1_12.txt | WA | 2 ms | 256 KB |
1_13.txt | WA | 3 ms | 256 KB |
1_14.txt | AC | 3 ms | 256 KB |
1_15.txt | AC | 3 ms | 256 KB |
1_16.txt | WA | 2 ms | 256 KB |
1_17.txt | WA | 3 ms | 256 KB |
1_18.txt | WA | 3 ms | 256 KB |
1_19.txt | AC | 3 ms | 256 KB |