Update cv7/program.c
This commit is contained in:
		
							parent
							
								
									f677e35a6a
								
							
						
					
					
						commit
						f7d61b0bbf
					
				@ -21,7 +21,7 @@ struct tree* read_tree()
 | 
			
		||||
    memset(buffer,0,SIZE);
 | 
			
		||||
    char* r = fgets(buffer,SIZE,stdin);    
 | 
			
		||||
 | 
			
		||||
    assert(r);
 | 
			
		||||
    if(r==NULL) return NULL;
 | 
			
		||||
 | 
			
		||||
    if(buffer[0]=='\n')
 | 
			
		||||
        return NULL;
 | 
			
		||||
@ -140,4 +140,3 @@ int main(void)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user