fork(5) download
  1. using System;
  2. public class Test {
  3. public static void Main() {
  4. string input = Console.ReadLine();
  5.  
  6. int a = input.Length, b = input[0] / 4, c = input[2] / b;
  7. int d = input[2] % b, e = input[2] - a, f = input[2] / a;
  8. int g = input[1] / f, h = input[1] % d, i = input[4] % c;
  9.  
  10. string calc = "" + f*g*(e*h*(a*d*f*(a*b-g)-1)+1);
  11. calc += a*e*f*(b*i*(b*g-a)*(b*h-i)+1);
  12. calc += a*a*b*d*(a*a*h*i*(b*d*h-c)+c)+1;
  13.  
  14. for (int j = calc.Length - 1; j > 0; j -= 2) {
  15. Console.Write((char)int.Parse("1" + calc[j - 1] + calc[j]));
  16. if (j % 10 == 1)
  17. Console.Write(' ');
  18. }
  19. }
  20. }
Runtime error #stdin #stdout #stderr 0.04s 37576KB
stdin
VENTS
stdout
†¾Æ‘r«h¿Å
stderr
Unhandled Exception: System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 
  at Test.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 
  at Test.Main () [0x00000] in <filename unknown>:0