Submission #2078302


Source Code Expand

using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.IO;
using System.Text;
using System.Diagnostics;

using static util;
using P = pair<int, int>;

using Binary = System.Func<System.Linq.Expressions.ParameterExpression, System.Linq.Expressions.ParameterExpression,
                           System.Linq.Expressions.BinaryExpression>;
using Unary = System.Func<System.Linq.Expressions.ParameterExpression, System.Linq.Expressions.UnaryExpression>;

class Program
{
    static StreamWriter sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
    static Scan sc = new Scan();
    const int M = 1000000007;
    // const int M = 998244353;
    const long LM = (long)1e18;
    const double eps = 1e-11;
    static readonly int[] dd = { 0, 1, 0, -1, 0 };
    static void Main(string[] args)
    {
        int h, w;
        sc.Multi(out h, out w);
        var a = new int[h][];
        for (int i = 0; i < h; i++)
            a[i] = sc.IntArr;

        int c = 0;
        var ind = new int[h][];
        for (int i = 0; i < h; i++)
        {
            ind[i] = new int[w];
            var b = sc.IntArr;
            for (int j = 0; j < w; j++)
            {
                if (a[i][j] == b[j])
                    a[i][j] = -1;
                else {
                    ind[i][j] = c;
                    ++c;
                }
            }
        }
        var mf = new MaxFlow(c + 2);
        int S = c, T = c + 1;
        for (int i = 0; i < h; i++)
        {
            for (int j = 0; j < w; j++)
            {
                if (a[i][j] == 0) {
                    mf.add_edge(S, ind[i][j], 1);
                    for (int k = 0; k < 4; k++)
                    {
                        int ti = i + dd[k], tj = j + dd[k + 1];
                        if (ti >= 0 && ti < h && tj >= 0 && tj < w && a[ti][tj] == 1)
                            mf.add_edge(ind[i][j], ind[ti][tj], 1);
                    }
                }
                if (a[i][j] == 1)
                    mf.add_edge(ind[i][j], T, 1);
            }
        }
        Prt(c - mf.run(S, T));
        sw.Flush();
    }

    static void DBG(string a) => Console.WriteLine(a);
    static void DBG<T>(IEnumerable<T> a) => DBG(string.Join(" ", a));
    static void DBG(params object[] a) => DBG(string.Join(" ", a));
    static void Prt(string a) => sw.WriteLine(a);
    static void Prt<T>(IEnumerable<T> a) => Prt(string.Join(" ", a));
    static void Prt(params object[] a) => Prt(string.Join(" ", a));
}
class pair<T, U> : IComparable<pair<T, U>> where T : IComparable<T> where U : IComparable<U>
{
    public T v1;
    public U v2;
    public pair(T v1, U v2) {
        this.v1 = v1;
        this.v2 = v2;
    }
    public int CompareTo(pair<T, U> a) => v1.CompareTo(a.v1) != 0 ? v1.CompareTo(a.v1) : v2.CompareTo(a.v2);
    public override string ToString() => v1 + " " + v2;
}
static class util
{
    public static pair<T, T> make_pair<T>(this IList<T> l) where T : IComparable<T> => make_pair(l[0], l[1]);
    public static pair<T, U> make_pair<T, U>(T v1, U v2) where T : IComparable<T> where U : IComparable<U> => new pair<T, U>(v1, v2);
    public static T sqr<T>(T a) => Operator<T>.Multiply(a, a);
    public static T Max<T>(params T[] a) => a.Max();
    public static T Min<T>(params T[] a) => a.Min();
    public static void swap<T>(ref T a, ref T b) { var t = a; a = b; b = t; }
    public static void swap<T>(this IList<T> a, int i, int j) { var t = a[i]; a[i] = a[j]; a[j] = t; }
    public static T[] copy<T>(this IList<T> a) {
        var ret = new T[a.Count];
        for (int i = 0; i < a.Count; i++) ret[i] = a[i];
        return ret;
    }
}
static class Operator<T>
{
    static readonly ParameterExpression x = Expression.Parameter(typeof(T), "x");
    static readonly ParameterExpression y = Expression.Parameter(typeof(T), "y");
    public static readonly Func<T, T, T> Add = Lambda(Expression.Add);
    public static readonly Func<T, T, T> Subtract = Lambda(Expression.Subtract);
    public static readonly Func<T, T, T> Multiply = Lambda(Expression.Multiply);
    public static readonly Func<T, T, T> Divide = Lambda(Expression.Divide);
    public static readonly Func<T, T> Plus = Lambda(Expression.UnaryPlus);
    public static readonly Func<T, T> Negate = Lambda(Expression.Negate);
    public static Func<T, T, T> Lambda(Binary op) => Expression.Lambda<Func<T, T, T>>(op(x, y), x, y).Compile();
    public static Func<T, T> Lambda(Unary op) => Expression.Lambda<Func<T, T>>(op(x), x).Compile();
}

class Scan
{
    public int Int => int.Parse(Str);
    public long Long => long.Parse(Str);
    public double Double => double.Parse(Str);
    public string Str => Console.ReadLine().Trim();
    public pair<T, U> Pair<T, U>() where T : IComparable<T> where U : IComparable<U>
    { T a; U b; Multi(out a, out b); return make_pair(a, b); }
    public int[] IntArr => StrArr.Select(int.Parse).ToArray();
    public long[] LongArr => StrArr.Select(long.Parse).ToArray();
    public double[] DoubleArr => StrArr.Select(double.Parse).ToArray();
    public string[] StrArr => Str.Split(new []{' '}, System.StringSplitOptions.RemoveEmptyEntries);
    bool eq<T, U>() => typeof(T).Equals(typeof(U));
    T ct<T, U>(U a) => (T)Convert.ChangeType(a, typeof(T));
    T cv<T>(string s) => eq<T, int>()    ? ct<T, int>(int.Parse(s))
                       : eq<T, long>()   ? ct<T, long>(long.Parse(s))
                       : eq<T, double>() ? ct<T, double>(double.Parse(s))
                       : eq<T, char>()   ? ct<T, char>(s[0])
                                         : ct<T, string>(s);
    public void Multi<T>(out T a) => a = cv<T>(Str);
    public void Multi<T, U>(out T a, out U b)
    { var ar = StrArr; a = cv<T>(ar[0]); b = cv<U>(ar[1]); }
    public void Multi<T, U, V>(out T a, out U b, out V c)
    { var ar = StrArr; a = cv<T>(ar[0]); b = cv<U>(ar[1]); c = cv<V>(ar[2]); }
    public void Multi<T, U, V, W>(out T a, out U b, out V c, out W d)
    { var ar = StrArr; a = cv<T>(ar[0]); b = cv<U>(ar[1]); c = cv<V>(ar[2]); d = cv<W>(ar[3]); }
    public void Multi<T, U, V, W, X>(out T a, out U b, out V c, out W d, out X e)
    { var ar = StrArr; a = cv<T>(ar[0]); b = cv<U>(ar[1]); c = cv<V>(ar[2]); d = cv<W>(ar[3]); e = cv<X>(ar[4]); }
    public void Multi<T, U, V, W, X, Y>(out T a, out U b, out V c, out W d, out X e, out Y f)
    { var ar = StrArr; a = cv<T>(ar[0]); b = cv<U>(ar[1]); c = cv<V>(ar[2]); d = cv<W>(ar[3]); e = cv<X>(ar[4]); f = cv<Y>(ar[5]); }
}
static class mymath
{
    public static long Mod = 1000000007;
    public static bool isprime(long a) {
        if (a < 2) return false;
        for (long i = 2; i * i <= a; i++) if (a % i == 0) return false;
        return true;
    }
    public static bool[] sieve(int n) {
        var p = new bool[n + 1];
        for (int i = 2; i <= n; i++) p[i] = true;
        for (int i = 2; i * i <= n; i++) if (p[i]) for (int j = i * i; j <= n; j += i) p[j] = false;
        return p;
    }
    public static List<int> getprimes(int n) {
        var prs = new List<int>();
        var p = sieve(n);
        for (int i = 2; i <= n; i++) if (p[i]) prs.Add(i);
        return prs;
    }
    public static long[][] E(int n) {
        var ret = new long[n][];
        for (int i = 0; i < n; i++) { ret[i] = new long[n]; ret[i][i] = 1; }
        return ret;
    }
    public static double[][] dE(int n) {
        var ret = new double[n][];
        for (int i = 0; i < n; i++) { ret[i] = new double[n]; ret[i][i] = 1; }
        return ret;
    }
    public static long[][] pow(long[][] A, long n) {
        if (n == 0) return E(A.Length);
        var t = pow(A, n / 2);
        if ((n & 1) == 0) return mul(t, t);
        return mul(mul(t, t), A);
    }
    public static double[][] pow(double[][] A, long n) {
        if (n == 0) return dE(A.Length);
        var t = pow(A, n / 2);
        if ((n & 1) == 0) return mul(t, t);
        return mul(mul(t, t), A);
    }
    public static double dot(double[] x, double[] y) {
        int n = x.Length;
        double ret = 0;
        for (int i = 0; i < n; i++) ret += x[i] * y[i];
        return ret;
    }
    public static double _dot(double[] x, double[] y) {
        int n = x.Length;
        double ret = 0, r = 0;
        for (int i = 0; i < n; i++) {
            double s = ret + (x[i] * y[i] + r);
            r = (x[i] * y[i] + r) - (s - ret);
            ret = s;
        }
        return ret;
    }
    public static long dot(long[] x, long[] y) {
        int n = x.Length;
        long ret = 0;
        for (int i = 0; i < n; i++) ret = (ret + x[i] * y[i]) % Mod;
        return ret;
    }
    public static T[][] trans<T>(T[][] A) {
        int n = A[0].Length, m = A.Length;
        var ret = new T[n][];
        for (int i = 0; i < n; i++) { ret[i] = new T[m]; for (int j = 0; j < m; j++) ret[i][j] = A[j][i]; }
        return ret;
    }
    public static double[] mul(double a, double[] x) {
        int n = x.Length;
        var ret = new double[n];
        for (int i = 0; i < n; i++) ret[i] = a * x[i];
        return ret;
    }
    public static long[] mul(long a, long[] x) {
        int n = x.Length;
        var ret = new long[n];
        for (int i = 0; i < n; i++) ret[i] = a * x[i] % Mod;
        return ret;
    }
    public static double[] mul(double[][] A, double[] x) {
        int n = A.Length;
        var ret = new double[n];
        for (int i = 0; i < n; i++) ret[i] = dot(x, A[i]);
        return ret;
    }
    public static long[] mul(long[][] A, long[] x) {
        int n = A.Length;
        var ret = new long[n];
        for (int i = 0; i < n; i++) ret[i] = dot(x, A[i]);
        return ret;
    }
    public static double[][] mul(double a, double[][] A) {
        int n = A.Length;
        var ret = new double[n][];
        for (int i = 0; i < n; i++) ret[i] = mul(a, A[i]);
        return ret;
    }
    public static long[][] mul(long a, long[][] A) {
        int n = A.Length;
        var ret = new long[n][];
        for (int i = 0; i < n; i++) ret[i] = mul(a, A[i]);
        return ret;
    }
    public static double[][] mul(double[][] A, double[][] B) {
        int n = A.Length;
        var Bt = trans(B);
        var ret = new double[n][];
        for (int i = 0; i < n; i++) ret[i] = mul(Bt, A[i]);
        return ret;
    }
    public static long[][] mul(long[][] A, long[][] B) {
        int n = A.Length;
        var Bt = trans(B);
        var ret = new long[n][];
        for (int i = 0; i < n; i++) ret[i] = mul(Bt, A[i]);
        return ret;
    }
    public static long[] add(long[] x, long[] y) {
        int n = x.Length;
        var ret = new long[n];
        for (int i = 0; i < n; i++) ret[i] = (x[i] + y[i]) % Mod;
        return ret;
    }
    public static long[][] add(long[][] A, long[][] B) {
        int n = A.Length;
        var ret = new long[n][];
        for (int i = 0; i < n; i++) ret[i] = add(A[i], B[i]);
        return ret;
    }
    public static long pow(long a, long b) {
        if (a >= Mod) return pow(a % Mod, b);
        if (a == 0) return 0;
        if (b == 0) return 1;
        var t = pow(a, b / 2);
        if ((b & 1) == 0) return t * t % Mod;
        return t * t % Mod * a % Mod;
    }
    public static long inv(long a) => pow(a, Mod - 2);
    public static long gcd(long a, long b) {
        while (b > 0) { var t = a % b; a = b; b = t; } return a;
    }
    // a x + b y = gcd(a, b)
    public static long extgcd(long a, long b, out long x, out long y) {
        long g = a; x = 1; y = 0;
        if (b > 0) { g = extgcd(b, a % b, out y, out x); y -= a / b * x; }
        return g;
    }
    public static long lcm(long a, long b) => a / gcd(a, b) * b;

    static long[] facts;
    public static long[] setfacts(int n) {
        facts = new long[n + 1];
        facts[0] = 1;
        for (int i = 0; i < n; i++) facts[i + 1] = facts[i] * (i + 1) % Mod;
        return facts;
    }
    public static long comb(int n, int r) {
        if (n < 0 || r < 0 || r > n) return 0;
        if (n - r < r) r = n - r;
        if (r == 0) return 1;
        if (r == 1) return n;
        if (facts != null && facts.Length > n) return facts[n] * inv(facts[r]) % Mod * inv(facts[n - r]) % Mod;
        int[] numer = new int[r], denom = new int[r];
        for (int k = 0; k < r; k++) { numer[k] = n - r + k + 1; denom[k] = k + 1; }
        for (int p = 2; p <= r; p++) {
            int piv = denom[p - 1];
            if (piv > 1) {
                int ofst = (n - r) % p;
                for (int k = p - 1; k < r; k += p) { numer[k - ofst] /= piv; denom[k] /= piv; }
            }
        }
        long ret = 1;
        for (int k = 0; k < r; k++) if (numer[k] > 1) ret = ret * numer[k] % Mod;
        return ret;
    }
    public static long[][] getcombs(int n) {
        var ret = new long[n + 1][];
        for (int i = 0; i <= n; i++) {
            ret[i] = new long[i + 1];
            ret[i][0] = ret[i][i] = 1;
            for (int j = 1; j < i; j++) ret[i][j] = (ret[i - 1][j - 1] + ret[i - 1][j]) % Mod;
        }
        return ret;
    }
    // nC0, nC2, ..., nCn
    public static long[] getcomb(int n) {
        var ret = new long[n + 1];
        ret[0] = 1;
        for (int i = 0; i < n; i++) ret[i + 1] = ret[i] * (n - i) % Mod * inv(i + 1) % Mod;
        return ret;
    }
}

class MaxFlow // dinic
{
    class edge {
        public int to, cap, rev;
        public edge(int t, int c, int r) { to = t; cap = c; rev = r; }
    }
    int V;
    List<edge>[] G;
    int[] itr, lev;

    public MaxFlow(int v) {
        V = v; G = new List<edge>[v];
        for (int i = 0; i < v; ++i) G[i] = new List<edge>();
    }
    public void add_edge(int frm, int to, int c) => add_edge(frm, to, c, true);
    public void add_edge(int frm, int to, int c, bool dir) {
        G[frm].Add(new edge(to, c, G[to].Count));
        G[to].Add(new edge(frm, dir ? 0 : c, G[frm].Count - 1));
    }
    void bfs(int s) {
        lev = new int[V];
        for (int i = 0; i < V; ++i) lev[i] = -1;
        var q = new Queue<int>();
        lev[s] = 0;
        q.Enqueue(s);
        while (q.Count > 0) {
            int v = q.Dequeue();
            foreach (var e in G[v]) {
                if (e.cap > 0 && lev[e.to] < 0) {
                    lev[e.to] = lev[v] + 1;
                    q.Enqueue(e.to);
                }
            }
        }
    }
    int dfs(int v, int t, int f) {
        if (v == t) return f;
        for (; itr[v] < G[v].Count; ++itr[v]) {
            var e = G[v][itr[v]];
            if (e.cap > 0 && lev[v] < lev[e.to]) {
                int d = dfs(e.to, t, f < e.cap ? f : e.cap);
                if (d > 0) {
                    e.cap -= d;
                    G[e.to][e.rev].cap += d;
                    return d;
                }
            }
        }
        return 0;
    }

    public int run(int s, int t) {
        int ret = 0;
        bfs(s);
        while (lev[t] >= 0) {
            itr = new int[V];
            int f;
            while ((f = dfs(s, t, int.MaxValue)) > 0) ret += f;
            bfs(s);
        }
        return ret;
    }
}

Submission Info

Submission Time
Task C - 天下一美術館
User riantkb
Language C# (Mono 4.6.2.0)
Score 90
Code Size 15571 Byte
Status AC
Exec Time 73 ms
Memory 17248 KB

Judge Result

Set Name small All
Score / Max Score 40 / 40 50 / 50
Status
AC × 67
AC × 120
Set Name Test Cases
small 00_manual03.txt, 00_manual04.txt, 00_manual05.txt, 00_manual06.txt, 00_manual07.txt, 00_sample00.txt, 00_sample01.txt, 00_sample02.txt, 00_small100.txt, 00_small101.txt, 00_small102.txt, 00_small103.txt, 00_small104.txt, 00_small105.txt, 00_small106.txt, 00_small107.txt, 00_small108.txt, 00_small109.txt, 00_small110.txt, 00_small111.txt, 00_small112.txt, 00_small113.txt, 00_small114.txt, 00_small115.txt, 00_small116.txt, 00_small117.txt, 00_small118.txt, 00_small119.txt, 00_small120.txt, 00_small121.txt, 00_small122.txt, 00_small123.txt, 00_small124.txt, 00_small125.txt, 00_small126.txt, 00_small127.txt, 00_small128.txt, 00_small129.txt, 00_small130.txt, 00_small131.txt, 00_small132.txt, 00_small133.txt, 00_small134.txt, 00_small135.txt, 00_small136.txt, 00_small137.txt, 00_small138.txt, 00_small139.txt, 00_small140.txt, 00_small141.txt, 00_small142.txt, 00_small143.txt, 00_small144.txt, 00_small145.txt, 00_small146.txt, 00_small147.txt, 00_small148.txt, 00_small149.txt, 00_small150.txt, 00_small151.txt, 00_small152.txt, 00_small153.txt, 00_small154.txt, 00_small155.txt, 00_small156.txt, 00_small157.txt, 00_small158.txt
All 00_manual03.txt, 00_manual04.txt, 00_manual05.txt, 00_manual06.txt, 00_manual07.txt, 00_sample00.txt, 00_sample01.txt, 00_sample02.txt, 00_small100.txt, 00_small101.txt, 00_small102.txt, 00_small103.txt, 00_small104.txt, 00_small105.txt, 00_small106.txt, 00_small107.txt, 00_small108.txt, 00_small109.txt, 00_small110.txt, 00_small111.txt, 00_small112.txt, 00_small113.txt, 00_small114.txt, 00_small115.txt, 00_small116.txt, 00_small117.txt, 00_small118.txt, 00_small119.txt, 00_small120.txt, 00_small121.txt, 00_small122.txt, 00_small123.txt, 00_small124.txt, 00_small125.txt, 00_small126.txt, 00_small127.txt, 00_small128.txt, 00_small129.txt, 00_small130.txt, 00_small131.txt, 00_small132.txt, 00_small133.txt, 00_small134.txt, 00_small135.txt, 00_small136.txt, 00_small137.txt, 00_small138.txt, 00_small139.txt, 00_small140.txt, 00_small141.txt, 00_small142.txt, 00_small143.txt, 00_small144.txt, 00_small145.txt, 00_small146.txt, 00_small147.txt, 00_small148.txt, 00_small149.txt, 00_small150.txt, 00_small151.txt, 00_small152.txt, 00_small153.txt, 00_small154.txt, 00_small155.txt, 00_small156.txt, 00_small157.txt, 00_small158.txt, 01_large100.txt, 01_large101.txt, 01_large102.txt, 01_large103.txt, 01_large104.txt, 01_large105.txt, 01_large106.txt, 01_large107.txt, 01_large108.txt, 01_large1325.txt, 01_large1327.txt, 01_large1330.txt, 01_large1339.txt, 01_large1343.txt, 01_large1355.txt, 01_large1366.txt, 01_large1367.txt, 01_large1374.txt, 01_large1380.txt, 01_large1388.txt, 01_large1395.txt, 01_large1396.txt, 01_large1400.txt, 01_large1402.txt, 01_large1405.txt, 01_large1409.txt, 01_large1413.txt, 01_large1417.txt, 01_large1423.txt, 01_large1430.txt, 01_large1437.txt, 01_large1438.txt, 01_large1442.txt, 01_large1450.txt, 01_large1459.txt, 01_large1464.txt, 01_large1472.txt, 01_large1478.txt, 01_large1480.txt, 01_large1486.txt, 01_large1492.txt, 01_large1500.txt, 01_large1501.txt, 01_large1502.txt, 01_large1506.txt, 01_large157.txt, 01_large207.txt, 01_large507.txt, 01_large577.txt, 01_large591.txt, 01_large893.txt, 01_manual_L00.txt, 01_manual_L01.txt
Case Name Status Exec Time Memory
00_manual03.txt AC 32 ms 11860 KB
00_manual04.txt AC 30 ms 9556 KB
00_manual05.txt AC 31 ms 11604 KB
00_manual06.txt AC 29 ms 9556 KB
00_manual07.txt AC 30 ms 13652 KB
00_sample00.txt AC 30 ms 11604 KB
00_sample01.txt AC 30 ms 11732 KB
00_sample02.txt AC 30 ms 11604 KB
00_small100.txt AC 29 ms 9556 KB
00_small101.txt AC 30 ms 11604 KB
00_small102.txt AC 30 ms 13652 KB
00_small103.txt AC 31 ms 13652 KB
00_small104.txt AC 30 ms 11604 KB
00_small105.txt AC 30 ms 11604 KB
00_small106.txt AC 30 ms 9556 KB
00_small107.txt AC 30 ms 11604 KB
00_small108.txt AC 31 ms 13652 KB
00_small109.txt AC 30 ms 11604 KB
00_small110.txt AC 30 ms 11732 KB
00_small111.txt AC 30 ms 11732 KB
00_small112.txt AC 31 ms 11604 KB
00_small113.txt AC 30 ms 11732 KB
00_small114.txt AC 31 ms 11732 KB
00_small115.txt AC 31 ms 11604 KB
00_small116.txt AC 30 ms 11604 KB
00_small117.txt AC 30 ms 13652 KB
00_small118.txt AC 31 ms 9556 KB
00_small119.txt AC 30 ms 9684 KB
00_small120.txt AC 31 ms 11604 KB
00_small121.txt AC 30 ms 11604 KB
00_small122.txt AC 31 ms 9556 KB
00_small123.txt AC 31 ms 13652 KB
00_small124.txt AC 30 ms 9556 KB
00_small125.txt AC 31 ms 9556 KB
00_small126.txt AC 30 ms 9556 KB
00_small127.txt AC 30 ms 9684 KB
00_small128.txt AC 30 ms 9556 KB
00_small129.txt AC 33 ms 11604 KB
00_small130.txt AC 31 ms 11732 KB
00_small131.txt AC 30 ms 11732 KB
00_small132.txt AC 31 ms 13652 KB
00_small133.txt AC 30 ms 11732 KB
00_small134.txt AC 30 ms 11732 KB
00_small135.txt AC 31 ms 11604 KB
00_small136.txt AC 31 ms 11604 KB
00_small137.txt AC 30 ms 9556 KB
00_small138.txt AC 31 ms 13780 KB
00_small139.txt AC 31 ms 13652 KB
00_small140.txt AC 30 ms 11604 KB
00_small141.txt AC 30 ms 13652 KB
00_small142.txt AC 30 ms 11604 KB
00_small143.txt AC 30 ms 9556 KB
00_small144.txt AC 31 ms 13652 KB
00_small145.txt AC 31 ms 11732 KB
00_small146.txt AC 30 ms 9556 KB
00_small147.txt AC 30 ms 11732 KB
00_small148.txt AC 30 ms 9556 KB
00_small149.txt AC 31 ms 13652 KB
00_small150.txt AC 31 ms 11732 KB
00_small151.txt AC 30 ms 11732 KB
00_small152.txt AC 30 ms 11604 KB
00_small153.txt AC 30 ms 11604 KB
00_small154.txt AC 31 ms 13652 KB
00_small155.txt AC 30 ms 11604 KB
00_small156.txt AC 31 ms 13780 KB
00_small157.txt AC 33 ms 11732 KB
00_small158.txt AC 31 ms 13780 KB
01_large100.txt AC 30 ms 11604 KB
01_large101.txt AC 31 ms 13780 KB
01_large102.txt AC 30 ms 11604 KB
01_large103.txt AC 31 ms 11732 KB
01_large104.txt AC 33 ms 9556 KB
01_large105.txt AC 32 ms 11604 KB
01_large106.txt AC 30 ms 11732 KB
01_large107.txt AC 31 ms 13652 KB
01_large108.txt AC 65 ms 13280 KB
01_large1325.txt AC 45 ms 14176 KB
01_large1327.txt AC 61 ms 12896 KB
01_large1330.txt AC 64 ms 17120 KB
01_large1339.txt AC 43 ms 10080 KB
01_large1343.txt AC 71 ms 13408 KB
01_large1355.txt AC 65 ms 17248 KB
01_large1366.txt AC 53 ms 12512 KB
01_large1367.txt AC 43 ms 10208 KB
01_large1374.txt AC 51 ms 16608 KB
01_large1380.txt AC 53 ms 16736 KB
01_large1388.txt AC 47 ms 14304 KB
01_large1395.txt AC 44 ms 12256 KB
01_large1396.txt AC 73 ms 15584 KB
01_large1400.txt AC 62 ms 13152 KB
01_large1402.txt AC 48 ms 14432 KB
01_large1405.txt AC 40 ms 12000 KB
01_large1409.txt AC 45 ms 12128 KB
01_large1413.txt AC 62 ms 15200 KB
01_large1417.txt AC 49 ms 16608 KB
01_large1423.txt AC 45 ms 10208 KB
01_large1430.txt AC 49 ms 12384 KB
01_large1437.txt AC 44 ms 12128 KB
01_large1438.txt AC 59 ms 14944 KB
01_large1442.txt AC 63 ms 15200 KB
01_large1450.txt AC 50 ms 14432 KB
01_large1459.txt AC 54 ms 12896 KB
01_large1464.txt AC 56 ms 16480 KB
01_large1472.txt AC 50 ms 12512 KB
01_large1478.txt AC 49 ms 14304 KB
01_large1480.txt AC 70 ms 15200 KB
01_large1486.txt AC 53 ms 14560 KB
01_large1492.txt AC 52 ms 14304 KB
01_large1500.txt AC 50 ms 14304 KB
01_large1501.txt AC 70 ms 13280 KB
01_large1502.txt AC 41 ms 12000 KB
01_large1506.txt AC 51 ms 14432 KB
01_large157.txt AC 60 ms 14944 KB
01_large207.txt AC 58 ms 14944 KB
01_large507.txt AC 54 ms 14944 KB
01_large577.txt AC 60 ms 13152 KB
01_large591.txt AC 63 ms 15328 KB
01_large893.txt AC 62 ms 15072 KB
01_manual_L00.txt AC 33 ms 11656 KB
01_manual_L01.txt AC 32 ms 11732 KB