language: C++ (gcc-4.3.4)
date: 102 days 18 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include<iostream>
using namespace std;
 
int main()
{
short i;
cin >> i;
while(i!=42)
{
cout << i << endl;
cin >> i;
}
return 0;
}
  • upload with new input
  • result: Success     time: 0.01s    memory: 2728 kB     returned value: 0

    1
    3
    445
    234
    
    556
    5
    345
    35
    542
    42
    1
    3
    445
    234
    556
    5
    345
    35
    542