Better
This commit is contained in:
		
					parent
					
						
							
								1e7a441ba8
							
						
					
				
			
			
				commit
				
					
						3af4d351a3
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,10 @@
 | 
			
		|||
use _1_calorie_counting::prob1::solve;
 | 
			
		||||
use _1_calorie_counting::prob1;
 | 
			
		||||
 | 
			
		||||
fn main() {
 | 
			
		||||
    let args: Vec<String> = std::env::args().collect();
 | 
			
		||||
    let file_path = args
 | 
			
		||||
        .get(1)
 | 
			
		||||
        .expect("Please provide an argument on command-line.");
 | 
			
		||||
    let max = solve(file_path);
 | 
			
		||||
    let max = prob1::solve(file_path);
 | 
			
		||||
    println!("{max}");
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue