Submission #3450943
Source Code Expand
#include <bits/stdc++.h> #include <fstream> #include <vector> #include <bitset> #include <unordered_map> #include <algorithm> #include <queue> #include <math.h> #include <iomanip> using namespace std; /********** TEMPLATE STARTS HERE ***********/ #define IOS ios::sync_with_stdio(false), cin.tie(0); #define all(v) v.begin(), v.end() #define F first #define S second #define pb push_back #define PI 3.1415926535897932384626433832795 #define gcd __gcd #define digits(n) (int)(log10(n) + 1) typedef long long ll; typedef pair <int, int> pii; typedef pair <ll, ll> pll; typedef vector <int> vi; typedef vector <long long> vl; typedef vector <pll> vll; typedef vector <pii> vii; const int INF = 0x3f3f3f3f; const int LINF = 0x3f3f3f3f3f3f3f3f; template <typename T, typename U> inline void amin(T &x, U y) { if(y < x) x = y; } template <typename T, typename U> inline void amax(T &x, U y) { if(x < y) x = y; } main() { IOS int n; cin >> n; if(n <= 999) cout << "ABC"; else cout << "ABD"; }
Submission Info
Submission Time | |
---|---|
Task | A - ABD |
User | mihai50000 |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 1054 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 KB |
Compile Error
./Main.cpp:33:18: warning: overflow in implicit constant conversion [-Woverflow] const int LINF = 0x3f3f3f3f3f3f3f3f; ^
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, sample_03.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, sample_01.txt, sample_02.txt, sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 1 ms | 256 KB |
02.txt | AC | 1 ms | 256 KB |
03.txt | AC | 1 ms | 256 KB |
04.txt | AC | 1 ms | 256 KB |
05.txt | AC | 1 ms | 256 KB |
06.txt | AC | 1 ms | 256 KB |
sample_01.txt | AC | 1 ms | 256 KB |
sample_02.txt | AC | 1 ms | 256 KB |
sample_03.txt | AC | 1 ms | 256 KB |