fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. byte x = byte.Parse(Console.ReadLine());
  8. byte y = byte.Parse(Console.ReadLine());
  9. byte z = x + y;
  10. Console.WriteLine(z);
  11. }
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
123
221
compilation info
prog.cs(9,14): error CS0266: Cannot implicitly convert type `int' to `byte'. An explicit conversion exists (are you missing a cast?)
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty