language: C# (mono-2.8)
date: 98 days 13 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
using System;
 
public class Test
{
        public static void Main()
        {
                int n;
                while ((n = int.Parse(Console.ReadLine()))!=42)
                        Console.WriteLine(n);
        }
}
  • upload with new input
  • result: Success     time: 0.03s    memory: 36944 kB     returned value: 0

    42