This commit is contained in:
Andrii Hermaniuk 2022-03-27 15:22:54 +02:00
parent 376a9f16d2
commit 8041851adf

View File

@ -13,7 +13,7 @@ int main(){
count++;
}
ch=getchar();
if(priklad[idx]!='\n'&&ch!='\n'){
if(priklad[idx]=='\n'&&ch=='\n'){
break;
}
}