du1
This commit is contained in:
		
							parent
							
								
									1930544378
								
							
						
					
					
						commit
						1da7ceae0c
					
				@ -15,7 +15,7 @@ int main() {
 | 
				
			|||||||
    while (scanf("%d", &value) == 1 && value > 0) {
 | 
					    while (scanf("%d", &value) == 1 && value > 0) {
 | 
				
			||||||
        if (index >= ARRAY_SIZE) {
 | 
					        if (index >= ARRAY_SIZE) {
 | 
				
			||||||
            fprintf(stderr, "Chyba: Príliš veľa súťažiacich!\n");
 | 
					            fprintf(stderr, "Chyba: Príliš veľa súťažiacich!\n");
 | 
				
			||||||
            return 1;
 | 
					            return 0;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        results[index] = value;
 | 
					        results[index] = value;
 | 
				
			||||||
        if (value > max_value) {
 | 
					        if (value > max_value) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user