Submission #750069

# Submission time Handle Problem Language Result Execution time Memory
750069 2023-05-29T06:27:08 Z Khalid_Alabdullatif Zalmoxis (BOI18_zalmoxis) C++14
10 / 100
138 ms 6320 KB
#include <bits/stdc++.h>
#define ll long long
#define f first
#define s second
#define pii pair<ll,int>
using namespace std;
const int N=1e5,sz=2*N+1;
int arr[501],dp[501][sz];
int main(){
    ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    int n,k;
    cin>>n>>k;
    int arr[n];
    for(int i=0;i<n;i++)
        cin>>arr[i];
    for(int i=0;i<n;i++){
        cout<<arr[i]<<' ';
    }
    while(k--)
        cout<<arr[n-1]<<' ';
}
# Verdict Execution time Memory Grader output
1 Incorrect 131 ms 6272 KB not a zalsequence
2 Incorrect 117 ms 6252 KB not a zalsequence
3 Incorrect 138 ms 6292 KB not a zalsequence
4 Correct 112 ms 6272 KB Output is correct
5 Correct 116 ms 6244 KB Output is correct
6 Incorrect 113 ms 6208 KB not a zalsequence
# Verdict Execution time Memory Grader output
1 Incorrect 135 ms 6320 KB not a zalsequence
2 Incorrect 112 ms 6280 KB not a zalsequence
3 Incorrect 109 ms 6260 KB not a zalsequence
4 Incorrect 117 ms 6248 KB not a zalsequence
5 Incorrect 107 ms 6268 KB not a zalsequence
6 Incorrect 133 ms 6280 KB not a zalsequence
7 Incorrect 116 ms 6268 KB not a zalsequence
8 Incorrect 107 ms 6276 KB not a zalsequence
9 Incorrect 100 ms 5708 KB not a zalsequence
10 Incorrect 78 ms 4256 KB not a zalsequence
11 Incorrect 100 ms 4720 KB not a zalsequence
12 Incorrect 65 ms 2328 KB not a zalsequence
13 Incorrect 64 ms 2252 KB not a zalsequence
14 Incorrect 64 ms 2308 KB not a zalsequence