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 22:25Andrew EpsteinAndrew EpsteinScore: 45,763Success
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 22:2945,6701,518,800,5431,498,769,0008,363,0002,121,728stderr
2Oct 30, 2026 22:2945,6981,520,906,4431,499,653,0008,393,0002,121,728stderr
3Oct 30, 2026 22:2945,7031,519,676,5631,500,796,0007,410,0002,121,728stderr
4Oct 30, 2026 22:2945,7401,520,968,3871,502,048,0007,392,0002,121,728stderr
5Oct 30, 2026 22:2945,7631,521,164,0871,502,799,0007,391,0002,121,728stderr
6Oct 30, 2026 22:2945,8581,524,363,1821,505,918,0007,412,0002,121,728stderr
7Oct 30, 2026 22:2946,1761,534,822,2561,516,547,0007,290,0002,121,728stderr
8Oct 30, 2026 22:2946,1781,534,894,7841,516,544,0007,356,0002,121,728stderr
9Oct 30, 2026 22:2946,2011,535,711,7991,517,324,0007,324,0002,121,728stderr