QOJ.ac
QOJ
			Time Limit:
			3.0 s		
				Memory Limit:
			1024 MB		
				Total points:
			100		
						
			Difficulty: 
			[show]
			
		
		
								
		Hackable ✓
	
#10109. Master of Modular Arithmetic
Statistics
			The problem was used in the following contests:
					
			
			This problem is prepared by 
Little09 and Qingyu			.