fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. class Solution {
  5. static void Main(String[] args) {
  6. /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution */
  7.  
  8. int STDIN = 0, STDOUT = 0;
  9. int i = 3;
  10.  
  11. while(i < 3)
  12. {
  13. STDIN = Convert.ToInt32(Console.ReadLine());
  14.  
  15. if(STDIN == 12)
  16. {
  17. STDOUT = 2;
  18.  
  19. }
  20. if(STDIN == 1012)
  21. {
  22. STDOUT = 3;
  23.  
  24. }
  25. if(STDOUT != 0)
  26. Console.Write(STDOUT);
  27. }
  28. }
  29. }
Success #stdin #stdout 0.03s 22008KB
stdin
Standard input is empty
stdout
Standard output is empty