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 listJun 8, 2026 10:39anboto1anboto1Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2026 10:400190,575,654172,056,0009,312,0002,117,632expected "1023101 ", got "1023100 "
2Jun 8, 2026 10:405,433188,569,279170,082,0009,234,0002,117,632
3Jun 8, 2026 10:405,460189,427,338170,978,0009,206,0002,117,632
4Jun 8, 2026 10:405,480191,549,605171,514,0009,358,0002,117,632
5Jun 8, 2026 10:405,500190,793,558172,259,0009,255,0002,117,632
6Jun 8, 2026 10:405,525191,963,222173,078,0009,249,0002,117,632
7Jun 8, 2026 10:405,539192,069,784173,420,0009,380,0002,117,632
8Jun 8, 2026 10:405,541192,053,973173,481,0009,396,0002,117,632
9Jun 8, 2026 10:405,572193,595,139174,564,0009,343,0002,117,632