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 listJan 8, 2026 20:23Josu San MartinJosu San MartinScore: 8,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 8, 2026 20:248,726315,574,966283,969,0003,999,0002,461,696
2Jan 8, 2026 20:248,750315,526,205284,769,0003,996,0002,289,664
3Jan 8, 2026 20:248,835318,422,032286,551,0004,992,0002,396,160
4Jan 8, 2026 20:238,892321,778,559289,418,0004,005,0002,351,104
5Jan 8, 2026 20:248,911322,197,481290,049,0004,000,0002,453,504
6Jan 8, 2026 20:248,911321,268,993291,077,0003,000,0002,330,624
7Jan 8, 2026 20:248,918324,038,000290,304,0004,004,0002,342,912
8Jan 8, 2026 20:248,942325,950,504290,081,0005,001,0002,457,600
9Jan 8, 2026 20:248,959324,819,457292,655,0002,996,0002,437,120
10Jan 8, 2026 20:239,116324,720,243295,831,0004,997,0002,433,024
11Jan 8, 2026 20:249,170332,740,182300,616,0001,997,0002,338,816
12Jan 8, 2026 20:239,475337,690,117308,664,0003,995,0002,371,584