227762026-01-15 18:23:54algoproGyorsolvasó-versenycpp17Wrong answer 0/10039ms552 KiB
// UUID: 0f279dd8-168a-4ac0-a2a0-2def46dc0c5e
#include <bits/stdc++.h>
using namespace std;

int main() {
	long N;
    cin>>N;
    long fastest=-99999;
    long x;
    for (long 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 answer1ms316 KiB
8Wrong answer1ms316 KiB
9Wrong answer1ms316 KiB
10Wrong answer1ms316 KiB
11Wrong answer1ms316 KiB
12Wrong answer1ms316 KiB
subtask30/40
13Wrong answer1ms392 KiB
14Wrong answer1ms316 KiB
15Wrong answer1ms404 KiB
16Wrong answer1ms316 KiB
17Wrong answer1ms316 KiB
18Wrong answer1ms316 KiB
19Wrong answer1ms316 KiB
20Wrong answer1ms552 KiB
21Wrong answer1ms316 KiB
subtask40/50
22Wrong answer1ms316 KiB
23Wrong answer2ms316 KiB
24Wrong answer14ms392 KiB
25Wrong answer34ms392 KiB
26Wrong answer17ms316 KiB
27Wrong answer35ms316 KiB
28Wrong answer30ms396 KiB
29Wrong answer6ms316 KiB
30Accepted39ms400 KiB
31Wrong answer37ms400 KiB