QOJ.ac
QOJ
			Time Limit:
			1 s		
				Memory Limit:
			256 MB		
				Total points:
			100		
									
		Hackable ✓
	
#6723. Grid with Arrows
Statistics
			The problem was used in the following contests:
					
			
			This problem is prepared by 
TsReaper			.