Sword Art Online Judge

View as PDF

Submit solution

Points: 7
Time limit: 1.0s
Memory limit: 256M

Author:
Problem type

"This, might be an online judge, but it isn't meant to be played" - 『Sword Art Online Judge』, Programmers: Guanzhong Chen, Tudor Brindus, Timothy Li

Folklore

A massive server made of silicon and steel floating in an endless sky.

That was all this judge was.

It took a varied group of programmers one month to survey the place; the number of problems was about 400 — large enough that even the most talented programmers would take days to get through it all. On another page, there were a great number of users stacked directly on top of each other; its sheer size was unbelievable. It was impossible to even guess how much data it consisted of.

Inside, there were a couple of large contests, countless small external contests, rankings, ratings, and even problem statements that had no relation to the actual problem. Only one navbar linked each page to another, and the content were on pages where large amounts of HTML roamed, so discovering and getting through was no easy matter. However, once someone broke through and arrived at a solution in a problem, the «Submission Status Page» there and the user page would connect, making it possible for anyone to gain points by solving problems.

Under these conditions, the huge judge had been steadily conquered over one year. The front line is currently on 3137 total points.

The name of the judge was the «Sword Art Online Judge»; a floating world of battles with code that had engulfed approximately one thousand people. Otherwise known as...

«SAO::J»

Input Specification

One integer, N (0 \le N \le 10\,000).

Output Specification

The output should not have leading zeroes.

Sample Input 1

27

Sample Output 1

695217590

Sample Input 2

24

Sample Output 2

754740700

Sample Input 3

14

Sample Output 3

19092295

Sample Input 4

4

Sample Output 4

4890

Comments


  • 0
    stanwww  commented on Oct. 27, 2024, 3:11 p.m. edited

    Never mind I found the rule.


  • 5
    JimmyDeng12345  commented on Oct. 4, 2018, 4:10 a.m.

    AM i too dumb to understand this question???


  • -2
    r3mark  commented on Dec. 5, 2015, 5:22 p.m.

    I'm pretty sure that the sample output 1 should be 1695217590, not 695217590.


    • -6
      Kirito  commented on March 20, 2016, 6:58 p.m.

      This comment is hidden due to too much negative feedback. Show it anyway.


    • 14
      FatalEagle  commented on Dec. 5, 2015, 8:18 p.m.

      Nope.


  • -1
    bobhob314  commented on April 1, 2015, 3:55 p.m. edit 7

    -


  • -5
    zzh8829  commented on April 1, 2015, 5:03 a.m. edited

    This comment is hidden due to too much negative feedback. Show it anyway.


  • 8
    pop  commented on April 1, 2015, 4:50 a.m.

    happy april fools(?)

    ;-;