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 listFeb 11, 2026 22:24olliecrowolliecrowScore: 17,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 11, 2026 22:2417,426604,264,334550,049,00025,002,0002,387,968
2Feb 11, 2026 22:2817,450609,754,563550,851,00024,993,0002,314,240
3Feb 11, 2026 22:2417,451602,834,835551,875,00023,994,0002,433,024
4Feb 11, 2026 22:2417,511603,842,520551,860,00025,993,0002,400,256
5Feb 11, 2026 22:2817,525605,890,019554,313,00024,013,0002,437,120
6Feb 11, 2026 22:2417,533601,461,311553,594,00024,981,0002,379,776
7Feb 11, 2026 22:2417,540605,123,138552,831,00025,992,0002,441,216
8Feb 11, 2026 22:2817,540601,651,743552,844,00025,992,0002,441,216
9Feb 11, 2026 22:2417,556610,431,867554,322,00025,014,0002,396,160
10Feb 11, 2026 22:2417,600615,010,998554,806,00025,990,0002,359,296
11Feb 11, 2026 22:2417,624610,259,747555,625,00025,982,0002,387,968
12Feb 11, 2026 22:2417,627603,234,596556,690,00024,986,0002,502,656