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 18, 2026 17:54Andrew EpsteinAndrew EpsteinScore: 71,745Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2026 17:5671,4752,369,174,7382,349,290,0009,385,0002,121,728stderr
2Sep 18, 2026 17:5671,5132,370,441,6342,350,688,0009,264,0002,121,728stderr
3Sep 18, 2026 17:5671,6262,374,166,3962,354,278,0009,395,0002,121,728stderr
4Sep 18, 2026 17:5671,6802,376,891,6282,356,146,0009,318,0002,117,632stderr
5Sep 18, 2026 17:5671,7452,378,044,0412,358,256,0009,347,0002,121,728stderr
6Sep 18, 2026 17:5671,9172,383,721,4692,363,998,0009,287,0002,121,728stderr
7Sep 18, 2026 17:5671,9882,386,122,8482,366,142,0009,482,0002,121,728stderr
8Sep 18, 2026 17:5672,0472,388,759,6432,368,135,0009,419,0002,121,728stderr
9Sep 18, 2026 17:5672,0742,388,913,0132,369,026,0009,437,0002,121,728stderr