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 listMay 13, 2026 18:18Pavel SkripkinPavel SkripkinScore: 15,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2026 18:1914,769495,257,726484,354,0003,036,0002,121,728stderr
2May 13, 2026 18:1915,309512,511,095502,100,0003,109,0002,121,728stderr
3May 13, 2026 18:1915,456517,920,812508,044,0002,006,0002,121,728stderr
4May 13, 2026 18:1915,462519,799,906508,244,0002,010,0002,121,728stderr
5May 13, 2026 18:1915,592524,103,940512,549,0002,008,0002,121,728stderr
6May 13, 2026 18:1915,701527,328,031516,145,0002,004,0002,121,728stderr
7May 13, 2026 18:1915,954533,785,273523,491,0003,012,0002,121,728stderr
8May 13, 2026 18:1916,161542,447,690530,329,0003,011,0002,121,728stderr
9May 13, 2026 18:1917,283577,778,068567,318,0003,028,0002,121,728stderr