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 listOct 30, 2026 01:14Andrew EpsteinAndrew EpsteinScore: 59,732Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 01:5059,2791,967,167,0741,947,817,0008,409,0002,121,728stderr
2Oct 30, 2026 01:5059,3271,968,905,8421,949,350,0008,472,0002,121,728stderr
3Oct 30, 2026 01:5059,3571,970,818,2711,949,404,0009,394,0002,121,728stderr
4Oct 30, 2026 01:5059,7261,982,261,3511,962,625,0008,365,0002,121,728stderr
5Oct 30, 2026 01:5059,7321,982,391,3611,961,683,0009,502,0002,121,728stderr
6Oct 30, 2026 01:5059,7361,982,236,5281,962,889,0008,429,0002,121,728stderr
7Oct 30, 2026 01:5059,7601,983,259,6861,962,725,0009,377,0002,121,728stderr
8Oct 30, 2026 01:5059,8501,986,605,0851,966,624,0008,449,0002,121,728stderr
9Oct 30, 2026 01:5060,0331,992,062,9071,972,610,0008,494,0002,121,728stderr