Submission #14258289
Source Code Expand
Copy
#include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<b;i++) #define rrep(i,a,b) for(int i=a;i>=b;i--) #define fore(i,a) for(auto &i:a) #define all(x) (x).begin(),(x).end() //#pragma GCC optimize ("-O3") using namespace std; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(false); _main(); } typedef long long ll; const int inf = INT_MAX / 2; const ll infl = 1LL << 60; template<class T>bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; } template<class T>bool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; } //--------------------------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------------------------- ∧_∧ ∧_∧ (´<_` ) Welcome to My Coding Space! ( ´_ゝ`) / ⌒i @hamayanhamayan0 / \ | | / / ̄ ̄ ̄ ̄/ | __(__ニつ/ _/ .| .|____ \/____/ (u ⊃ ---------------------------------------------------------------------------------------------------*/ string S; //--------------------------------------------------------------------------------------------------- void _main() { cin >> S; string ans = S.substr(0, 3); cout << ans << endl; }
Submission Info
Submission Time | |
---|---|
Task | A - Nickname |
User | hamayanhamayan |
Language | C++ (GCC 9.2.1) |
Score | 100 |
Code Size | 1486 Byte |
Status | AC |
Exec Time | 2 ms |
Memory | 3576 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample01.txt, sample02.txt |
All | sample01.txt, sample02.txt, in01.txt, in02.txt, in03.txt, in04.txt, in05.txt, in06.txt, in07.txt, sample01.txt, sample02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
in01.txt | AC | 2 ms | 3488 KB |
in02.txt | AC | 2 ms | 3432 KB |
in03.txt | AC | 2 ms | 3576 KB |
in04.txt | AC | 2 ms | 3436 KB |
in05.txt | AC | 2 ms | 3512 KB |
in06.txt | AC | 2 ms | 3432 KB |
in07.txt | AC | 2 ms | 3548 KB |
sample01.txt | AC | 2 ms | 3492 KB |
sample02.txt | AC | 2 ms | 3440 KB |