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 listJan 7, 2026 20:35Aman | अमनAman | अमनScore: 98,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2026 20:3595,1663,171,454,2383,106,505,00033,961,0002,461,696
2Jan 7, 2026 20:3595,3733,180,066,0603,110,328,00036,980,0002,531,328
3Jan 7, 2026 20:3597,5943,249,013,3663,194,622,00025,980,0002,396,160
4Jan 7, 2026 20:3598,3183,277,165,9943,209,522,00034,972,0002,449,408
5Jan 7, 2026 20:3598,5113,278,430,4583,223,888,00026,982,0002,269,184
6Jan 7, 2026 20:3598,6893,283,556,5853,227,756,00028,979,0002,531,328
7Jan 7, 2026 20:3599,0553,298,613,6903,243,830,00024,983,0002,265,088
8Jan 7, 2026 20:3599,3053,305,820,8023,251,080,00025,984,0002,269,184
9Jan 7, 2026 20:3599,9203,328,603,8163,269,379,00027,977,0002,301,952