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 listMay 9, 2026 20:22Aleksei ShahoikaAleksei ShahoikaError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 19:43Andrew Epstein11.47CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 19:47020,025,256,33419,987,928,00026,397,00016,384Killed by timeout
2May 9, 2026 20:2323,306785,666,906656,199,000112,911,0002,404,352
3May 9, 2026 20:2323,336786,283,762657,585,000112,517,0002,396,160
4May 9, 2026 20:2323,356786,413,401658,426,000112,332,0002,375,680
5May 9, 2026 20:2323,430791,966,279660,252,000112,944,0002,379,776
6May 9, 2026 20:2323,453790,944,362659,705,000114,245,0002,392,064
7May 9, 2026 20:2323,488793,688,312659,741,000115,367,0002,396,160
8May 9, 2026 20:2323,509792,618,135662,512,000113,285,0002,404,352
9May 9, 2026 20:2323,529792,454,971662,387,000114,096,0002,383,872
10May 9, 2026 20:2323,896804,577,384674,586,000113,989,0002,379,776