Submission #1175746


Source Code Expand

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
static void Main()
        {
            for (int i = 0; i < 1000; i++)
            {
                int d;
                int t;
                int[] c;
                int[] a;
                for (int i = 0; i < 8; i++)
                {
                    if (a[i] == d)
                    {
                        Console.WriteLine("sell 1 " + i);
                        break;
                    }
                    else if (c[i] == d && t != 1)
                    {
                        Console.WriteLine("fill" + i);
                        break;
                    }
                }
                Console.WriteLine("pass");
                break;
            }
        }

Submission Info

Submission Time
Task A - 石油王Xの憂鬱
User kazuma0824
Language C# (Mono 4.6.2.0)
Score 0
Code Size 844 Byte
Status CE

Compile Error

./Main.cs(6,7): error CS1525: Unexpected symbol `void', expecting `class', `delegate', `enum', `interface', `partial', or `struct'