mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			259 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			259 B
		
	
	
	
		
			Text
		
	
	
	
	
	
(int, int) main(int x) {
 | 
						|
  int y = 5;
 | 
						|
  if (x < 0) {
 | 
						|
    x *= 2;
 | 
						|
    y += 1;
 | 
						|
    if (x == -10) {
 | 
						|
      return (111, 0);
 | 
						|
    }
 | 
						|
  }
 | 
						|
  return (x + 1, y);
 | 
						|
}
 | 
						|
{-
 | 
						|
   method_id | in | out
 | 
						|
TESTCASE | 0 | 10 | 11 5
 | 
						|
TESTCASE | 0 | -5 | 111 0
 | 
						|
TESTCASE | 0 | -4 | -7 6
 | 
						|
-}
 |