Submission #201368
Source Code Expand
import java.util.*; public class Main { private void doit(){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int a = sc.nextInt(); int b = sc.nextInt(); int temp = a; a = b; b = temp; System.out.println(a + " " + b); } } public static void main(String[] args) { new Main().doit(); } }
Submission Info
Submission Time | |
---|---|
Task | A - スワップ |
User | ne210064 |
Language | Java (OpenJDK 1.7.0) |
Score | 100 |
Code Size | 356 Byte |
Status | AC |
Exec Time | 475 ms |
Memory | 23216 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_13_69.txt, test_16_44.txt, test_40_40.txt, test_49_31.txt, test_51_74.txt, test_83_60.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 449 ms | 23208 KB |
sample_02.txt | AC | 448 ms | 23212 KB |
test_13_69.txt | AC | 443 ms | 23084 KB |
test_16_44.txt | AC | 469 ms | 23208 KB |
test_40_40.txt | AC | 448 ms | 23084 KB |
test_49_31.txt | AC | 447 ms | 23216 KB |
test_51_74.txt | AC | 452 ms | 23200 KB |
test_83_60.txt | AC | 475 ms | 23088 KB |