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 2, 2026 21:23zielajzielajScore: 3,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 21:233,138130,212,121102,541,0001,005,0002,535,424
2Jan 2, 2026 21:243,158126,616,983103,216,0001,002,0002,531,328
3Jan 2, 2026 21:243,176129,615,055101,805,0002,994,0002,535,424
4Jan 2, 2026 21:243,188136,387,347104,200,0001,001,0002,531,328
5Jan 2, 2026 21:243,206129,123,852103,788,0001,995,0002,420,736
6Jan 2, 2026 21:243,208128,117,662104,851,000998,0002,273,280
7Jan 2, 2026 21:243,212126,291,201104,007,0002,000,0002,420,736
8Jan 2, 2026 21:243,235131,684,818105,760,000997,0002,416,640
9Jan 2, 2026 21:233,274127,035,680106,044,0002,000,0002,420,736
10Jan 2, 2026 21:243,296133,107,891107,782,000997,0002,412,544
11Jan 2, 2026 21:243,356143,483,203109,749,000997,0002,420,736
12Jan 2, 2026 21:233,411139,340,405111,573,0001,005,0002,273,280