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:09Andrew EpsteinAndrew EpsteinScore: 43,696Success
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:3943,3601,441,914,4671,423,502,0007,404,0002,121,728stderr
2Oct 30, 2026 01:3943,3791,442,606,2691,423,059,0008,473,0002,121,728stderr
3Oct 30, 2026 01:3943,5631,448,536,6211,430,322,0007,269,0002,121,728stderr
4Oct 30, 2026 01:3943,6821,453,131,5671,433,007,0008,527,0002,121,728stderr
5Oct 30, 2026 01:3943,6961,453,035,4021,434,648,0007,344,0002,121,728stderr
6Oct 30, 2026 01:3943,8051,456,887,2301,438,216,0007,374,0002,121,728stderr
7Oct 30, 2026 01:3943,8081,458,823,9601,438,280,0007,408,0002,121,728stderr
8Oct 30, 2026 01:3944,1471,467,822,0681,449,523,0007,345,0002,121,728stderr
9Oct 30, 2026 01:3944,2281,470,942,7791,452,124,0007,400,0002,121,728stderr