Category: SPOJ

19
Feb
2016

SPOJ Solution – TEST – Life, the Universe, and Everything

#include<bits/stdc++.h> using namespace std; int main() { int a,t; while(1){ scanf(“%d”,&a); if(a==42){ break; } else{ printf(“%d\n”,a); }…