entery teraz uz nerobia problem
This commit is contained in:
		
							parent
							
								
									32dcd96827
								
							
						
					
					
						commit
						c7e438f487
					
				@ -17,6 +17,7 @@ int main() {
 | 
			
		||||
	char names[99][50];
 | 
			
		||||
	int count = 0;
 | 
			
		||||
	while(fgets(buffer, sizeof(buffer), stdin) != NULL) {
 | 
			
		||||
		if (buffer[0] == '\n') continue;
 | 
			
		||||
		int current_votes = 0;
 | 
			
		||||
		char current_name[50] = "";
 | 
			
		||||
		sscanf(buffer, "%d %[^\n]", ¤t_votes, current_name);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user