mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-10-31 10:26:48 +08:00 
			
		
		
		
	greedy/max_capacity: fix myMax algorithm error (#1784)
Co-authored-by: wujing <realwujing@qq.com>
This commit is contained in:
		| @ -12,7 +12,7 @@ int myMin(int a, int b) { | ||||
| } | ||||
| /* 求最大值 */ | ||||
| int myMax(int a, int b) { | ||||
|     return a < b ? a : b; | ||||
|     return a > b ? a : b; | ||||
| } | ||||
|  | ||||
| /* 最大容量:贪心 */ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 WuJing
					WuJing