Submission #3779531
Source Code Expand
#include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << "," << p.second << ")"; return os; } template<typename P, typename Q> istream& operator >> (istream& is, pair<P, Q>& p) { is >> p.first >> p.second; return is; } template<typename T> ostream& operator << (ostream& os, vector<T> v) { os << "("; each (i, v) os << i << ","; os << ")"; return os; } template<typename T> istream& operator >> (istream& is, vector<T>& v) { each (i, v) is >> i; return is; } template<typename T> inline T setmax(T& a, T b) { return a = std::max(a, b); } template<typename T> inline T setmin(T& a, T b) { return a = std::min(a, b); } int main(int argc, char *argv[]) { ios_base::sync_with_stdio(0); cin.tie(0); string a, b; while (cin >> a >> b) { for (int i = 0; i < 1000; ++i) { if (i < a.size()) cout << a[i]; if (i < b.size()) cout << b[i]; } cout << endl; } return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - ∵∴∵ |
User | Johniel |
Language | C++14 (GCC 5.4.1) |
Score | 200 |
Code Size | 1203 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 200 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_000.txt, 0_001.txt |
All | 0_000.txt, 0_001.txt, rnd0.txt, rnd1.txt, rnd2.txt, rnd3.txt, short1.txt, short2.txt, short3.txt, wf.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_000.txt | AC | 1 ms | 256 KB |
0_001.txt | AC | 1 ms | 256 KB |
rnd0.txt | AC | 1 ms | 256 KB |
rnd1.txt | AC | 1 ms | 256 KB |
rnd2.txt | AC | 1 ms | 256 KB |
rnd3.txt | AC | 1 ms | 256 KB |
short1.txt | AC | 1 ms | 256 KB |
short2.txt | AC | 1 ms | 256 KB |
short3.txt | AC | 1 ms | 256 KB |
wf.txt | AC | 1 ms | 256 KB |