Submission #21065409


Source Code Expand

#include<bits/stdc++.h>
#include<atcoder/all>
using namespace std;
using namespace atcoder;
using ll = long long;
using mint = modint;
using Graph = vector<vector<int>>;
#define ALL(x) (x).begin(), (x).end()
#define REP(i ,n) for(int i = 0; i < (int)(n); i++)
#define pb push_back
#define mp make_pair
typedef vector<int>vint;
typedef vector<ll>vll;
template<typename T> istream &operator>>(istream &is, vector<T> &vec){ for (auto &v : vec) is >> v; return is; }
template<typename A,typename B>inline bool chmin(A &a,const B &b){if(a>b){a=b;return true;}else{return false;}}
template<typename A,typename B>inline bool chmax(A &a,const B &b){if(a<b){a=b;return true;}else{return false;}}

int main(){
    string S;
    cin >> S;
    for(auto s:S){
        if(s == '.')break;
        cout << s;
    }
    cout << endl;
}

Submission Info

Submission Time
Task B - Round Down
User kiuyuki
Language C++ (GCC 9.2.1)
Score 200
Code Size 843 Byte
Status AC
Exec Time 10 ms
Memory 3640 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 16
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All handmade_00.txt, handmade_01.txt, handmade_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
handmade_00.txt AC 10 ms 3520 KiB
handmade_01.txt AC 2 ms 3572 KiB
handmade_02.txt AC 2 ms 3640 KiB
random_00.txt AC 2 ms 3632 KiB
random_01.txt AC 2 ms 3620 KiB
random_02.txt AC 2 ms 3624 KiB
random_03.txt AC 3 ms 3636 KiB
random_04.txt AC 2 ms 3452 KiB
random_05.txt AC 4 ms 3632 KiB
random_06.txt AC 2 ms 3632 KiB
random_07.txt AC 2 ms 3548 KiB
random_08.txt AC 3 ms 3636 KiB
random_09.txt AC 2 ms 3512 KiB
sample_01.txt AC 2 ms 3536 KiB
sample_02.txt AC 3 ms 3636 KiB
sample_03.txt AC 3 ms 3632 KiB