QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#76162#5419. TriangleswlxhkkAC ✓2ms3676kbC++141.5kb2023-02-07 22:26:122023-02-07 22:26:16

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3324kb

input:

2

output:

No

result:

ok no solution

Test #2:

score: 0
Accepted
time: 2ms
memory: 3480kb

input:

24

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999992 0 450000000 ...

result:

ok 24 acute triangles

Test #3:

score: 0
Accepted
time: 1ms
memory: 3412kb

input:

1

output:

No

result:

ok no solution

Test #4:

score: 0
Accepted
time: 2ms
memory: 3340kb

input:

3

output:

No

result:

ok no solution

Test #5:

score: 0
Accepted
time: 2ms
memory: 3456kb

input:

4

output:

No

result:

ok no solution

Test #6:

score: 0
Accepted
time: 2ms
memory: 3320kb

input:

5

output:

No

result:

ok no solution

Test #7:

score: 0
Accepted
time: 2ms
memory: 3340kb

input:

6

output:

No

result:

ok no solution

Test #8:

score: 0
Accepted
time: 2ms
memory: 3324kb

input:

7

output:

No

result:

ok no solution

Test #9:

score: 0
Accepted
time: 2ms
memory: 3664kb

input:

8

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 500000000 0 450000000 ...

result:

ok 8 acute triangles

Test #10:

score: 0
Accepted
time: 2ms
memory: 3528kb

input:

9

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 9 acute triangles

Test #11:

score: 0
Accepted
time: 1ms
memory: 3652kb

input:

10

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999999 0 450000000 ...

result:

ok 10 acute triangles

Test #12:

score: 0
Accepted
time: 2ms
memory: 3544kb

input:

11

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 11 acute triangles

Test #13:

score: 0
Accepted
time: 2ms
memory: 3512kb

input:

12

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999998 0 450000000 ...

result:

ok 12 acute triangles

Test #14:

score: 0
Accepted
time: 2ms
memory: 3508kb

input:

13

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 13 acute triangles

Test #15:

score: 0
Accepted
time: 2ms
memory: 3540kb

input:

14

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999997 0 450000000 ...

result:

ok 14 acute triangles

Test #16:

score: 0
Accepted
time: 2ms
memory: 3588kb

input:

15

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 15 acute triangles

Test #17:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

16

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999996 0 450000000 ...

result:

ok 16 acute triangles

Test #18:

score: 0
Accepted
time: 1ms
memory: 3508kb

input:

17

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 17 acute triangles

Test #19:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

18

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999995 0 450000000 ...

result:

ok 18 acute triangles

Test #20:

score: 0
Accepted
time: 2ms
memory: 3516kb

input:

19

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 19 acute triangles

Test #21:

score: 0
Accepted
time: 2ms
memory: 3536kb

input:

20

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999994 0 450000000 ...

result:

ok 20 acute triangles

Test #22:

score: 0
Accepted
time: 2ms
memory: 3480kb

input:

21

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 21 acute triangles

Test #23:

score: 0
Accepted
time: 2ms
memory: 3536kb

input:

22

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999993 0 450000000 ...

result:

ok 22 acute triangles

Test #24:

score: 0
Accepted
time: 2ms
memory: 3676kb

input:

23

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 23 acute triangles

Test #25:

score: 0
Accepted
time: 2ms
memory: 3588kb

input:

25

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 25 acute triangles

Test #26:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

26

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999991 0 450000000 ...

result:

ok 26 acute triangles

Test #27:

score: 0
Accepted
time: 2ms
memory: 3648kb

input:

27

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 27 acute triangles

Test #28:

score: 0
Accepted
time: 1ms
memory: 3652kb

input:

28

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999990 0 450000000 ...

result:

ok 28 acute triangles

Test #29:

score: 0
Accepted
time: 2ms
memory: 3516kb

input:

29

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 29 acute triangles

Test #30:

score: 0
Accepted
time: 2ms
memory: 3588kb

input:

30

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999989 0 450000000 ...

result:

ok 30 acute triangles

Test #31:

score: 0
Accepted
time: 1ms
memory: 3480kb

input:

31

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 31 acute triangles

Test #32:

score: 0
Accepted
time: 2ms
memory: 3528kb

input:

32

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999988 0 450000000 ...

result:

ok 32 acute triangles

Test #33:

score: 0
Accepted
time: 2ms
memory: 3512kb

input:

33

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 33 acute triangles

Test #34:

score: 0
Accepted
time: 2ms
memory: 3536kb

input:

34

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999987 0 450000000 ...

result:

ok 34 acute triangles

Test #35:

score: 0
Accepted
time: 1ms
memory: 3668kb

input:

35

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 35 acute triangles

Test #36:

score: 0
Accepted
time: 2ms
memory: 3660kb

input:

36

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999986 0 450000000 ...

result:

ok 36 acute triangles

Test #37:

score: 0
Accepted
time: 2ms
memory: 3516kb

input:

37

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 37 acute triangles

Test #38:

score: 0
Accepted
time: 2ms
memory: 3544kb

input:

38

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999985 0 450000000 ...

result:

ok 38 acute triangles

Test #39:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

39

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 39 acute triangles

Test #40:

score: 0
Accepted
time: 2ms
memory: 3536kb

input:

40

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999984 0 450000000 ...

result:

ok 40 acute triangles

Test #41:

score: 0
Accepted
time: 0ms
memory: 3540kb

input:

41

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 41 acute triangles

Test #42:

score: 0
Accepted
time: 2ms
memory: 3564kb

input:

42

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999983 0 450000000 ...

result:

ok 42 acute triangles

Test #43:

score: 0
Accepted
time: 2ms
memory: 3480kb

input:

43

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 43 acute triangles

Test #44:

score: 0
Accepted
time: 2ms
memory: 3564kb

input:

44

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999982 0 450000000 ...

result:

ok 44 acute triangles

Test #45:

score: 0
Accepted
time: 0ms
memory: 3536kb

input:

45

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 45 acute triangles

Test #46:

score: 0
Accepted
time: 2ms
memory: 3552kb

input:

46

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999981 0 450000000 ...

result:

ok 46 acute triangles

Test #47:

score: 0
Accepted
time: 2ms
memory: 3592kb

input:

47

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 47 acute triangles

Test #48:

score: 0
Accepted
time: 2ms
memory: 3536kb

input:

48

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999980 0 450000000 ...

result:

ok 48 acute triangles

Test #49:

score: 0
Accepted
time: 2ms
memory: 3508kb

input:

49

output:

Yes
0 0 0 1000000000 700000000 600000000
0 0 1000000000 0 700000000 600000000
600000000 1000000000 490000000 720000000 0 1000000000
600000000 1000000000 490000000 720000000 700000000 800000000
700000000 600000000 490000000 720000000 700000000 800000000
1000000000 1000000000 600000000 1000000000 7000...

result:

ok 49 acute triangles

Test #50:

score: 0
Accepted
time: 2ms
memory: 3516kb

input:

50

output:

Yes
0 0 0 1000000000 450000000 200000000
0 1000000000 450000000 200000000 500000000 1000000000
450000000 200000000 550000000 200000000 500000000 1000000000
1000000000 1000000000 550000000 200000000 500000000 1000000000
1000000000 0 1000000000 1000000000 550000000 200000000
0 0 499999979 0 450000000 ...

result:

ok 50 acute triangles