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 10, 2026 14:47Josu San MartinJosu San MartinScore: 4,635Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2026 13:364,631174,477,579151,822,000998,0002,396,160
2Jan 10, 2026 13:364,632177,520,694151,856,000999,0002,293,760
3Jan 10, 2026 13:364,633179,009,917151,883,000999,0002,510,848
4Jan 10, 2026 13:364,633174,912,121150,895,0001,998,0002,523,136
5Jan 10, 2026 13:364,634177,286,761151,932,000999,0002,400,256
6Jan 10, 2026 13:364,635180,652,652151,968,000999,0002,400,256
7Jan 10, 2026 13:364,635174,570,095150,969,0001,999,0002,400,256
8Jan 10, 2026 14:474,638177,217,069152,040,0001,000,0002,293,760
9Jan 10, 2026 14:474,638175,399,125151,069,0002,000,0002,396,160
10Jan 10, 2026 14:474,640174,857,920152,121,0001,000,0002,293,760
11Jan 10, 2026 13:364,642174,765,951152,193,0001,001,0002,293,760
12Jan 10, 2026 13:364,649178,186,883153,416,00002,293,760