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 listApr 27, 2026 01:20olliecrowolliecrowScore: 42,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 01:2241,9941,406,040,8481,336,815,00048,993,0002,367,488stderr
2Apr 27, 2026 01:2242,0211,407,370,5911,331,715,00054,988,0002,367,488stderr
3Apr 27, 2026 01:2242,0681,406,364,7611,335,301,00052,972,0002,367,488stderr
4Apr 27, 2026 01:2242,1551,407,150,9361,331,182,00059,963,0002,363,392stderr
5Apr 27, 2026 01:2242,1761,408,915,3701,337,828,00053,993,0002,576,384stderr
6Apr 27, 2026 01:2242,1771,414,010,0691,334,915,00056,953,0002,568,192stderr
7Apr 27, 2026 01:2242,3661,422,939,3561,345,131,00052,965,0002,560,000stderr
8Apr 27, 2026 01:2242,4231,415,748,4201,357,998,00041,969,0002,568,192stderr
9Apr 27, 2026 01:2242,6841,424,276,0221,356,594,00051,984,0002,367,488stderr