Submission #21091211
Source Code Expand
#include <bits/stdc++.h>
#include <atcoder/all>
#include <boost/multiprecision/cpp_int.hpp>
using namespace std;
using namespace atcoder;
namespace mp = boost::multiprecision;
#define REP(i, m, n) for (int i = (int) (m); i < (int) (n); ++i)
#define rep(i, n) REP(i, 0, n)
using ll = long long;
#define pint pair<int, int>
#define pll pair<ll, ll>
const int inf = 1e9 + 7;
const ll longinf = 1LL << 60;
const ll mod = 1e9 + 7;
using Bint = mp::cpp_int;
using mint = modint998244353;
int main() {
string x;
cin >> x;
rep(i,x.size()){
if(x[i]!='.'){
cout << x[i];
}
else
break;
}
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - Round Down |
| User | hnakashima |
| Language | C++ (GCC 9.2.1) |
| Score | 200 |
| Code Size | 642 Byte |
| Status | AC |
| Exec Time | 8 ms |
| Memory | 3652 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| 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 | 8 ms | 3652 KiB |
| handmade_01.txt | AC | 3 ms | 3564 KiB |
| handmade_02.txt | AC | 2 ms | 3616 KiB |
| random_00.txt | AC | 2 ms | 3528 KiB |
| random_01.txt | AC | 2 ms | 3532 KiB |
| random_02.txt | AC | 1 ms | 3560 KiB |
| random_03.txt | AC | 2 ms | 3464 KiB |
| random_04.txt | AC | 2 ms | 3528 KiB |
| random_05.txt | AC | 2 ms | 3520 KiB |
| random_06.txt | AC | 3 ms | 3508 KiB |
| random_07.txt | AC | 2 ms | 3612 KiB |
| random_08.txt | AC | 3 ms | 3464 KiB |
| random_09.txt | AC | 2 ms | 3524 KiB |
| sample_01.txt | AC | 2 ms | 3532 KiB |
| sample_02.txt | AC | 2 ms | 3612 KiB |
| sample_03.txt | AC | 2 ms | 3560 KiB |