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 23:04Andrew EpsteinAndrew EpsteinScore: 41,493Success
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 23:0541,1381,368,638,3191,350,306,0007,249,0002,121,728stderr
2Oct 30, 2026 23:0541,3501,375,590,6391,357,303,0007,261,0002,121,728stderr
3Oct 30, 2026 23:0541,3981,377,591,3171,358,864,0007,288,0002,121,728stderr
4Oct 30, 2026 23:0541,4741,379,658,0831,361,358,0007,288,0002,121,728stderr
5Oct 30, 2026 23:0541,4931,380,309,4291,362,039,0007,252,0002,121,728stderr
6Oct 30, 2026 23:0541,5361,381,873,3841,363,432,0007,258,0002,121,728stderr
7Oct 30, 2026 23:0541,8251,391,208,2551,372,843,0007,401,0002,121,728stderr
8Oct 30, 2026 23:0541,8911,393,413,0431,374,947,0007,464,0002,121,728stderr
9Oct 30, 2026 23:0542,2431,404,993,5031,386,662,0007,376,0002,121,728stderr