QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#875092#8611. (A + B) mod Pucup-team253WA 1ms4096kbC++233.0kb2025-01-29 05:04:112025-01-29 05:04:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 4096kb

input:

3

output:

24
1.000000000 0.000000000 0.866025404 0.500000000 0.500000000 0.866025404 0.000000000 1.000000000 -0.500000000 0.866025404 -0.866025404 0.500000000 -1.000000000 0.000000000 -0.866025404 -0.500000000 -0.500000000 -0.866025404 -0.000000000 -1.000000000 0.500000000 -0.866025404 0.866025404 -0.50000000...

result:

ok OK

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 4096kb

input:

5

output:

24
1.000000000 0.000000000 0.866025404 0.500000000 0.500000000 0.866025404 0.000000000 1.000000000 -0.500000000 0.866025404 -0.866025404 0.500000000 -1.000000000 0.000000000 -0.866025404 -0.500000000 -0.500000000 -0.866025404 -0.000000000 -1.000000000 0.500000000 -0.866025404 0.866025404 -0.50000000...

result:

wrong answer Expected (0 + 0) % 5 = 0, found 3