227742026-01-15 18:21:01algoproGyorsolvasó-versenycpp17Wrong answer 0/10037ms552 KiB
// UUID: 7dacca2b-e239-4003-b748-1465e18a4edc
#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 answer1ms316 KiB
2Accepted1ms316 KiB
subtask20/10
3Wrong answer1ms316 KiB
4Wrong answer1ms316 KiB
5Wrong answer1ms316 KiB
6Wrong answer1ms316 KiB
7Wrong answer1ms552 KiB
8Wrong answer1ms368 KiB
9Wrong answer1ms508 KiB
10Wrong answer1ms316 KiB
11Wrong answer1ms316 KiB
12Wrong answer1ms316 KiB
subtask30/40
13Wrong answer1ms324 KiB
14Wrong answer1ms500 KiB
15Wrong answer1ms316 KiB
16Wrong answer1ms316 KiB
17Wrong answer1ms316 KiB
18Wrong answer1ms500 KiB
19Wrong answer1ms316 KiB
20Wrong answer1ms316 KiB
21Wrong answer1ms316 KiB
subtask40/50
22Wrong answer1ms316 KiB
23Wrong answer2ms500 KiB
24Wrong answer14ms396 KiB
25Wrong answer32ms316 KiB
26Wrong answer18ms316 KiB
27Wrong answer34ms400 KiB
28Wrong answer29ms396 KiB
29Wrong answer6ms316 KiB
30Accepted37ms408 KiB
31Wrong answer37ms392 KiB