Submission #1175830
Source Code Expand
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main() { for (int b = 0; b < 1000; b++) { int d; int t; int[] c; int[] a; for (int i = 0; i < 8; i++) { if (a[i] == d) { Console.Out.WriteLine("sell 1" + i); break; } else if (c[i] == d && t != 1) { Console.Out.WriteLine("fill" + i); break; } else if(i==7) { Console.Out.WriteLine("pass"); } } } } }
Submission Info
Submission Time | |
---|---|
Task | A - 石油王Xの憂鬱 |
User | kazuma0824 |
Language | C# (Mono 4.6.2.0) |
Score | 0 |
Code Size | 933 Byte |
Status | CE |
Compile Error
./Main.cs(20,21): error CS0165: Use of unassigned local variable `a' ./Main.cs(20,29): error CS0165: Use of unassigned local variable `d' ./Main.cs(27,26): error CS0165: Use of unassigned local variable `c' ./Main.cs(27,39): error CS0165: Use of unassigned local variable `t'