227712026-01-15 18:19:06algoproGyorsolvasó-versenycpp17Wrong answer 0/10037ms528 KiB
// UUID: 1ad08eaf-7248-4a6e-bad4-271caac19e31
#include <bits/stdc++.h>
using namespace std;

int main() {
	int N;
    cin>>N;
    int fastest=0;
    int x;
    for (int i=0; i<N; i++) {
        cin>>x;
        if (x>fastest) {
            fastest=x;
        }
    }
    cout<<fastest;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer1ms528 KiB
2Accepted1ms316 KiB
subtask20/10
3Wrong answer1ms376 KiB
4Wrong answer1ms316 KiB
5Wrong answer1ms316 KiB
6Wrong answer1ms316 KiB
7Wrong answer1ms316 KiB
8Wrong answer1ms316 KiB
9Wrong answer1ms316 KiB
10Wrong answer1ms316 KiB
11Wrong answer1ms316 KiB
12Wrong answer1ms508 KiB
subtask30/40
13Wrong answer1ms316 KiB
14Wrong answer1ms316 KiB
15Wrong answer1ms316 KiB
16Wrong answer1ms508 KiB
17Wrong answer1ms316 KiB
18Wrong answer1ms316 KiB
19Wrong answer1ms316 KiB
20Wrong answer1ms316 KiB
21Wrong answer1ms316 KiB
subtask40/50
22Wrong answer1ms316 KiB
23Wrong answer2ms316 KiB
24Wrong answer14ms508 KiB
25Wrong answer32ms400 KiB
26Wrong answer17ms508 KiB
27Wrong answer34ms396 KiB
28Wrong answer29ms400 KiB
29Wrong answer6ms316 KiB
30Accepted37ms508 KiB
31Wrong answer35ms396 KiB