# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
865544 | gr1zler | Potatoes and fertilizers (LMIO19_bulves) | Java | 107 ms | 30068 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
import java.io.*;
import java.util.*;
class tank {
static int mod = (int) 1e9 + 7;
static int mod2 = 998244353;
static FastReader sc = new FastReader(System.in);
//static Scanner sc=new Scanner(System.in);
static PrintWriter out = new PrintWriter(System.out);
static int dx[]={-1,1,0,0};
static int dy[]={0,0,-1,1};
//static int t[];
// static boolean checkk;
// static int ans_ch=0;
static HashSet<Integer> t[];
static ArrayList<Integer> chh;
static int ans=0;
static int a=0;
static int b=0;
public static void main(String[] args) throws IOException {
//int tt = sc.nextInt();
int tt = 1;
Gr1zler:
for (int WTF = 0; WTF < tt; WTF++) {
int n=sc.nextInt();
int a[]=new int[n];
Deque<Integer>pos=new LinkedList<>();
Deque<Integer>ne=new LinkedList<>();
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |