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 18:01Andrew EpsteinAndrew EpsteinScore: 88,201Success
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 18:0387,6092,905,234,7702,864,988,00026,125,0002,121,728stderr
2Sep 18, 2026 18:0387,7702,907,532,8972,870,402,00026,022,0002,154,496stderr
3Sep 18, 2026 18:0387,9242,915,670,4502,874,927,00026,565,0002,121,728stderr
4Sep 18, 2026 18:0388,0692,917,466,0652,879,393,00026,890,0002,121,728stderr
5Sep 18, 2026 18:0388,2012,921,142,9852,883,546,00027,114,0002,121,728stderr
6Sep 18, 2026 18:0388,2382,923,047,1912,884,749,00027,130,0002,121,728stderr
7Sep 18, 2026 18:0388,5682,933,289,5682,895,289,00027,480,0002,121,728stderr
8Sep 18, 2026 18:0388,6992,937,578,1012,900,391,00026,695,0002,121,728stderr
9Sep 18, 2026 18:0388,8662,943,731,7762,905,550,00027,039,0002,121,728stderr