Submission #3391802


Source Code Expand

#include"bits/stdc++.h"
using namespace std;
using ll = int64_t;

int main() {
    ll L;
    string S;
    cin >> L >> S;
    cout << S.substr(0, L) << endl;
}

Submission Info

Submission Time
Task A - 入力フォーム
User tokumini
Language C++14 (GCC 5.4.1)
Score 100
Code Size 168 Byte
Status AC
Exec Time 4 ms
Memory 512 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 16
Set Name Test Cases
Sample 00_sample_00, 00_sample_01
All 00_sample_00, 00_sample_01, 50_random_00, 50_random_01, 50_random_02, 50_random_03, 50_random_04, 50_random_05, 50_random_06, 50_random_07, 50_random_08, 50_random_09, 99_handmade_00, 99_handmade_01, 99_handmade_02, 99_handmade_03
Case Name Status Exec Time Memory
00_sample_00 AC 1 ms 256 KB
00_sample_01 AC 1 ms 256 KB
50_random_00 AC 1 ms 256 KB
50_random_01 AC 3 ms 384 KB
50_random_02 AC 1 ms 256 KB
50_random_03 AC 3 ms 384 KB
50_random_04 AC 3 ms 384 KB
50_random_05 AC 2 ms 256 KB
50_random_06 AC 2 ms 384 KB
50_random_07 AC 2 ms 256 KB
50_random_08 AC 1 ms 256 KB
50_random_09 AC 3 ms 384 KB
99_handmade_00 AC 1 ms 256 KB
99_handmade_01 AC 1 ms 256 KB
99_handmade_02 AC 1 ms 256 KB
99_handmade_03 AC 4 ms 512 KB