int main() {
// your code goes here
bool flag = true;
while(flag)
{
int n;
scanf("%d",&n);
if(n != 42)
printf("%d",n);
else
flag = false;
}
return 0;
}
Can anyone help me understand why I’m getting TLE sigcount errors …
sry
I’m getting sigcount error #include
#include<bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
bool flag = true;
while(flag)
{
int n;
scanf("%d",&n);
if(n != 42)
printf("%d\n",n);
else
flag = false;
}
return 0;
}