add
This commit is contained in:
parent
ba6e93ce3c
commit
fe243c7092
@ -30,7 +30,7 @@ int main(){
|
|||||||
int d1,d2,d3;
|
int d1,d2,d3;
|
||||||
int res=sscanf(start,"%d %d %d",&d1,&d2,&d3);
|
int res=sscanf(start,"%d %d %d",&d1,&d2,&d3);
|
||||||
|
|
||||||
if(res==0){
|
if(res!=3){
|
||||||
printf("Neplatny datum.\n");
|
printf("Neplatny datum.\n");
|
||||||
while((*start)!='\n')start++;
|
while((*start)!='\n')start++;
|
||||||
start++;
|
start++;
|
||||||
|
Loading…
Reference in New Issue
Block a user