Unique strings Sergey Svistunov

Count the exact number of unique tokens as fast as possible.

Input

One token per line on STDIN:

JWXcKKaWzvFL5
Rof
3ztCpA
5wHcGN
*UiEMthaTS*g

Output

Print the exact count of unique tokens to STDOUT.

Constraints

  • Character set: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@#%*
  • Maximum token length: 16
  • Approximately 1,000,000 unique tokens
Back to listSep 25, 2024 18:44Joad NacerJoad NacerError
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 25, 2024 18:4300000Error: No answer to stdout. Died or killed?stderr
2Sep 25, 2024 18:4800000Error: No answer to stdout. Died or killed?stderr
3Sep 25, 2024 18:494,901187,596,785147,747,00013,976,0002,330,624
4Sep 25, 2024 18:444,931187,058,812146,756,00015,973,0002,338,816
5Sep 25, 2024 18:494,939184,476,438148,997,00013,999,0002,465,792
6Sep 25, 2024 18:445,036193,156,710151,162,00015,016,0002,330,624
7Sep 25, 2024 18:445,264200,345,014160,737,00012,978,0002,469,888
8Sep 25, 2024 18:495,310202,524,497162,217,00013,017,0002,465,792