# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1237259 | d4nnaee | Kutije (COCI21_kutije) | C++20 | 439 ms | 1320 KiB |
#include <bits/stdc++.h>
using namespace std;
int main(){
int n,m;
long long q;
cin>>n>>m>>q;
int p[n];
for(int i=0; i<n; ++i){
cin>>p[i];
}
for(long long i=0; i<q; ++i){
int a,b;
cin>>a>>b;
if(a==p[b])cout<<"DA";
else cout<<"NE";
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |