fork download
  1. using System;
  2. using System.Text;
  3. using static System.Console;
  4. using static System.Math;
  5. using static System.String;
  6.  
  7. public class Test
  8. {
  9. public static void Main()
  10. {
  11. Console.WriteLine("Введите значения n,m,k");
  12. int n;
  13. int m;
  14. int k;
  15. string[] s = Console.ReadLine().Split();
  16. n = int.Parse(s[0]);
  17. m = int.Parse(s[1]);
  18. k = int.Parse(s[2]);
  19. Console.WriteLine("Проверка", n);
  20. Console.WriteLine("Проверка", m);
  21. Console.WriteLine("Проверка", k);
  22. }
  23. }
Runtime error #stdin #stdout #stderr 0.02s 16132KB
stdin
Standard input is empty
stdout
Введите значения  n,m,k
stderr
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at Test.Main () [0x00014] in <0473855a567846c8b74b51c725da00f5>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Test.Main () [0x00014] in <0473855a567846c8b74b51c725da00f5>:0