This commit is contained in:
Andrii Hermaniuk 2022-03-27 15:25:29 +02:00
parent b33c35089e
commit 327e4fb068

View File

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