Submission #464782

# Submission time Handle Problem Language Result Execution time Memory
464782 2021-08-14T05:59:46 Z jurgis Exam (eJOI20_exam) C++14
0 / 100
5 ms 432 KB
#include <iostream>
#include <bits/stdc++.h>
#define f first
#define s second
#define pii pair<int, int>
#define ll long long
using namespace std;

int main()
{
    int n; cin>>n; int A[n], B[n];
    for(int i=0; i<n; i++){cin>>A[i];}
    for(int i=0; i<n; i++){cin>>B[i];} bool galim = true;
    for(int i=0; i<n; i++){if(A[i] != B[0]){galim = false;}}
    if(galim){
        cout<<n;
    }
    else{cout<<0;}
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 432 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -