fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int a = 1;
  8. int b = -3;
  9. int result = (a + Math.Abs(b) - 1) / b;
  10. Console.WriteLine(result);
  11. }
  12. }
Success #stdin #stdout 0.04s 23904KB
stdin
Standard input is empty
stdout
-1