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 21, 2025 13:18Cameron AavikCameron AavikScore: 35,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2025 13:1834,8421,176,553,645993,960,000155,837,0002,482,176
2Jan 21, 2025 13:1834,9051,176,688,121998,021,000153,849,0002,342,912
3Jan 21, 2025 13:1835,0021,188,141,8151,008,192,000146,882,0002,289,664
4Jan 21, 2025 13:1835,0941,186,193,1821,005,222,000152,881,0002,392,064
5Jan 21, 2025 13:1835,1981,185,386,1291,018,598,000142,943,0002,285,568
6Jan 21, 2025 13:1835,2811,193,253,4271,010,372,000153,904,0002,523,136
7Jan 21, 2025 13:1835,3091,189,045,8571,010,316,000154,895,0002,408,448
8Jan 21, 2025 13:1835,3901,200,460,3581,015,018,000152,852,0002,392,064
9Jan 21, 2025 13:1835,6671,199,571,8181,031,122,000145,875,0002,490,368