Submission #17483932


Source Code Expand

Copy
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define rrep(i, n) for (int i = n - 1; i >= 0; i--)
using namespace std;
#define INF ((1<<30)-1)
#define LINF (1LL<<60)
#define EPS (1e-10)
typedef long long ll;
typedef pair<ll, ll> P;
const int MOD = 1000000007;
const int MOD2 = 998244353;


int main(){
    int a = 0;
    rep(i, 8) {
        int t;
        cin >> t;
        a = max(a, t);
    }
    cout << a << endl;
    return 0;
}

Submission Info

Submission Time
Task A - Time Penalty
User bustle0309
Language C++ (GCC 9.2.1)
Score 100
Code Size 482 Byte
Status
Exec Time 11 ms
Memory 3628 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
× 3
× 10
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All sample_01.txt, sample_02.txt, sample_03.txt, subtask_1_1.txt, subtask_1_2.txt, subtask_1_3.txt, subtask_1_4.txt, subtask_1_5.txt, subtask_1_6.txt, subtask_1_7.txt
Case Name Status Exec Time Memory
sample_01.txt 11 ms 3516 KB
sample_02.txt 3 ms 3512 KB
sample_03.txt 2 ms 3392 KB
subtask_1_1.txt 2 ms 3564 KB
subtask_1_2.txt 4 ms 3360 KB
subtask_1_3.txt 3 ms 3488 KB
subtask_1_4.txt 3 ms 3488 KB
subtask_1_5.txt 2 ms 3628 KB
subtask_1_6.txt 2 ms 3572 KB
subtask_1_7.txt 3 ms 3416 KB