Submission #58720
Source Code Expand
import java.util.Scanner; public class Main { static Scanner sc = new Scanner(System.in); static int N; public static void main(String[] args) { N = sc.nextInt(); double[] x = new double[2 * N]; double[] y = new double[2 * N]; for (int i = 0; i < 2 * N; ++i) { x[i] = sc.nextDouble(); y[i] = sc.nextDouble(); } System.out.println((2 * x[4] - x[0]) + " " + (2 * y[4] - y[0])); } }
Submission Info
Submission Time | |
---|---|
Task | D - 地図が2枚 |
User | tomerun |
Language | Java (OpenJDK 1.7.0) |
Score | 50 |
Code Size | 423 Byte |
Status | WA |
Exec Time | 545 ms |
Memory | 22652 KB |
Judge Result
Set Name | Easy | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 50 / 50 | 0 / 50 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Easy | easy-000.txt, easy-001.txt, easy-002.txt, easy-003.txt, easy-004.txt, easy-005.txt, easy-006.txt, easy-007.txt, easy-008.txt, easy-009.txt, easy-010.txt, easy-011.txt, easy-012.txt, easy-013.txt, easy-014.txt |
All | easy-000.txt, easy-001.txt, easy-002.txt, easy-003.txt, easy-004.txt, easy-005.txt, easy-006.txt, easy-007.txt, easy-008.txt, easy-009.txt, easy-010.txt, easy-011.txt, easy-012.txt, easy-013.txt, easy-014.txt, hard-000.txt, hard-001.txt, hard-002.txt, hard-003.txt, hard-004.txt, hard-005.txt, hard-006.txt, hard-007.txt, hard-008.txt, hard-009.txt, hard-010.txt, hard-011.txt, hard-012.txt, hard-013.txt, hard-014.txt, hard-015.txt, hard-016.txt, hard-017.txt, hard-018.txt, hard-019.txt, hard-020.txt, hard-021.txt, hard-022.txt, hard-023.txt, hard-024.txt, hard-025.txt, hard-026.txt, hard-027.txt, hard-028.txt, hard-029.txt, hard-030.txt, hard-031.txt, hard-032.txt, hard-033.txt, hard-034.txt, hard-035.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
easy-000.txt | AC | 545 ms | 20392 KB |
easy-001.txt | AC | 448 ms | 20428 KB |
easy-002.txt | AC | 446 ms | 20428 KB |
easy-003.txt | AC | 448 ms | 20404 KB |
easy-004.txt | AC | 460 ms | 20400 KB |
easy-005.txt | AC | 455 ms | 20452 KB |
easy-006.txt | AC | 458 ms | 20396 KB |
easy-007.txt | AC | 480 ms | 20396 KB |
easy-008.txt | AC | 448 ms | 20520 KB |
easy-009.txt | AC | 444 ms | 20380 KB |
easy-010.txt | AC | 452 ms | 20440 KB |
easy-011.txt | AC | 449 ms | 20384 KB |
easy-012.txt | AC | 451 ms | 20400 KB |
easy-013.txt | AC | 479 ms | 20400 KB |
easy-014.txt | AC | 451 ms | 20436 KB |
hard-000.txt | WA | 452 ms | 20396 KB |
hard-001.txt | WA | 454 ms | 20400 KB |
hard-002.txt | WA | 466 ms | 20396 KB |
hard-003.txt | WA | 454 ms | 20432 KB |
hard-004.txt | WA | 460 ms | 20444 KB |
hard-005.txt | WA | 454 ms | 20352 KB |
hard-006.txt | WA | 465 ms | 20380 KB |
hard-007.txt | WA | 451 ms | 20448 KB |
hard-008.txt | WA | 472 ms | 20788 KB |
hard-009.txt | WA | 466 ms | 20788 KB |
hard-010.txt | WA | 475 ms | 20776 KB |
hard-011.txt | WA | 472 ms | 20796 KB |
hard-012.txt | WA | 463 ms | 20824 KB |
hard-013.txt | WA | 460 ms | 21044 KB |
hard-014.txt | WA | 463 ms | 20912 KB |
hard-015.txt | WA | 467 ms | 20908 KB |
hard-016.txt | WA | 466 ms | 21540 KB |
hard-017.txt | WA | 452 ms | 20920 KB |
hard-018.txt | WA | 449 ms | 20396 KB |
hard-019.txt | AC | 458 ms | 20392 KB |
hard-020.txt | WA | 515 ms | 20804 KB |
hard-021.txt | WA | 495 ms | 20788 KB |
hard-022.txt | WA | 456 ms | 21032 KB |
hard-023.txt | WA | 466 ms | 20944 KB |
hard-024.txt | WA | 460 ms | 21084 KB |
hard-025.txt | WA | 478 ms | 21028 KB |
hard-026.txt | WA | 477 ms | 21444 KB |
hard-027.txt | WA | 472 ms | 21468 KB |
hard-028.txt | WA | 530 ms | 22488 KB |
hard-029.txt | WA | 486 ms | 22560 KB |
hard-030.txt | WA | 475 ms | 21792 KB |
hard-031.txt | WA | 483 ms | 22348 KB |
hard-032.txt | WA | 478 ms | 22220 KB |
hard-033.txt | WA | 484 ms | 22652 KB |
hard-034.txt | WA | 493 ms | 22448 KB |
hard-035.txt | WA | 484 ms | 22420 KB |
sample1.txt | AC | 452 ms | 20420 KB |
sample2.txt | AC | 461 ms | 20268 KB |
sample3.txt | WA | 464 ms | 20912 KB |