提出 #57949786


ソースコード 拡げる

#include <bits/stdc++.h>
using namespace std;
const char nl = '\n';
const char sp = ' ';
const int inf = 0x3f3f3f3f;
const string OUT[2]{ "NO", "YES" };
const string out[2]{ "No", "Yes" };
#define all(a) a.begin(), a.end()
#define dbg(a) cerr << (#a) << " = " << a << nl
#define OK() cerr << "OK until line " << __LINE__ << nl
using ll = long long;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
ifstream fin(".in");
ofstream fout(".out");

auto start_time = chrono::high_resolution_clock::now();

double amcbn() {
    auto end_time = chrono::high_resolution_clock::now();
    return chrono::duration<double>(end_time - start_time).count();
}

template<typename T>
int rand(T a, T b) { return uniform_int_distribution<T>(a, b)(rng); }

template<typename T1, typename T2>
bool ckmax(T1& a, T2 b) { return a < b ? a = b, true : false; }

template<typename T1, typename T2>
bool ckmin(T1& a, T2 b) { return a > b ? a = b, true : false; }

int main() {
    ios::sync_with_stdio(0);
    cin.tie(0);
    string s;
    cin >> s;
    for (auto& c : s) {
        if (c != '.') {
            cout << c;
        }
    }
}

提出情報

提出日時
問題 A - delete .
ユーザ amcbn
言語 C++ 20 (gcc 12.2)
得点 100
コード長 1173 Byte
結果 AC
実行時間 1 ms
メモリ 3632 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 19
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_handmade_00.txt, 01_handmade_01.txt, 01_handmade_02.txt, 01_handmade_03.txt, 01_handmade_04.txt, 01_handmade_05.txt, 02_random_00.txt, 02_random_01.txt, 02_random_02.txt, 02_random_03.txt, 02_random_04.txt, 02_random_05.txt, 02_random_06.txt, 02_random_07.txt, 02_random_08.txt, 02_random_09.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 1 ms 3508 KiB
00_sample_01.txt AC 1 ms 3576 KiB
00_sample_02.txt AC 1 ms 3584 KiB
01_handmade_00.txt AC 1 ms 3564 KiB
01_handmade_01.txt AC 1 ms 3628 KiB
01_handmade_02.txt AC 1 ms 3576 KiB
01_handmade_03.txt AC 1 ms 3564 KiB
01_handmade_04.txt AC 1 ms 3448 KiB
01_handmade_05.txt AC 1 ms 3536 KiB
02_random_00.txt AC 1 ms 3536 KiB
02_random_01.txt AC 1 ms 3588 KiB
02_random_02.txt AC 1 ms 3628 KiB
02_random_03.txt AC 1 ms 3448 KiB
02_random_04.txt AC 1 ms 3624 KiB
02_random_05.txt AC 1 ms 3632 KiB
02_random_06.txt AC 1 ms 3568 KiB
02_random_07.txt AC 1 ms 3632 KiB
02_random_08.txt AC 1 ms 3576 KiB
02_random_09.txt AC 1 ms 3568 KiB