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 21:52Andrew EpsteinAndrew EpsteinScore: 35,913Success
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 21:5335,7291,190,690,5381,171,669,0007,418,0002,125,824stderr
2Oct 30, 2026 21:5335,8131,193,886,4591,174,570,0007,263,0002,121,728stderr
3Oct 30, 2026 21:5335,8691,194,855,3691,176,302,0007,402,0002,121,728stderr
4Oct 30, 2026 21:5335,8831,195,155,7931,176,705,0007,443,0002,121,728stderr
5Oct 30, 2026 21:5335,9131,196,131,1541,177,792,0007,361,0002,125,824stderr
6Oct 30, 2026 21:5336,1471,203,876,8851,185,445,0007,418,0002,121,728stderr
7Oct 30, 2026 21:5336,1861,205,207,1561,186,679,0007,478,0002,125,824stderr
8Oct 30, 2026 21:5336,3821,211,661,2381,193,291,0007,324,0002,125,824stderr
9Oct 30, 2026 21:5336,5231,216,047,3411,197,899,0007,377,0002,121,728stderr