227702026-01-15 18:15:49algoproGyorsolvasó-versenycpp17Wrong answer 0/10037ms548 KiB
// UUID: 691bd98e-58ce-4d79-8e0b-cc946a41f79d
#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
2Accepted1ms504 KiB
subtask20/10
3Wrong answer1ms328 KiB
4Wrong answer1ms316 KiB
5Wrong answer1ms316 KiB
6Wrong answer1ms500 KiB
7Wrong answer1ms316 KiB
8Wrong answer1ms316 KiB
9Wrong answer1ms316 KiB
10Wrong answer1ms316 KiB
11Wrong answer1ms316 KiB
12Wrong answer1ms548 KiB
subtask30/40
13Wrong answer1ms316 KiB
14Wrong answer1ms316 KiB
15Wrong answer1ms316 KiB
16Wrong answer1ms316 KiB
17Wrong answer1ms316 KiB
18Wrong answer1ms316 KiB
19Wrong answer1ms532 KiB
20Wrong answer1ms316 KiB
21Wrong answer2ms316 KiB
subtask40/50
22Wrong answer1ms316 KiB
23Wrong answer2ms316 KiB
24Wrong answer14ms316 KiB
25Wrong answer32ms500 KiB
26Wrong answer17ms316 KiB
27Wrong answer34ms400 KiB
28Wrong answer29ms396 KiB
29Wrong answer6ms316 KiB
30Accepted37ms400 KiB
31Wrong answer35ms508 KiB