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 10, 2026 00:51Josu San MartinJosu San MartinScore: 6,990Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2026 00:025,788215,637,301188,993,0001,999,0002,494,464
2Jan 10, 2026 00:025,792216,759,465188,138,0003,002,0002,449,408
3Jan 9, 2026 23:545,798217,571,251189,331,0002,003,0002,486,272
4Jan 9, 2026 23:545,800211,818,276187,412,0003,987,0002,449,408
5Jan 9, 2026 23:545,802216,282,795187,490,0003,989,0002,379,776
6Jan 10, 2026 00:025,807215,935,226186,627,0004,990,0002,342,912
7Jan 9, 2026 23:575,898223,982,109191,650,0002,994,0002,277,376
8Jan 9, 2026 23:575,937225,598,014191,931,0003,998,0002,334,720
9Jan 9, 2026 23:575,968221,198,530194,948,0001,999,0002,379,776
10Jan 10, 2026 01:416,990253,554,829225,681,0004,992,0002,371,584
11Jan 10, 2026 01:417,009256,925,862227,309,0003,987,0002,453,504
12Jan 10, 2026 01:417,197259,194,201229,529,0007,983,0002,297,856
13Jan 10, 2026 00:527,254271,035,477233,366,0006,009,0002,347,008
14Jan 10, 2026 00:527,299264,127,434233,879,0006,996,0002,297,856
15Jan 10, 2026 00:527,835282,677,190256,553,0001,996,0002,351,104
16Jan 10, 2026 00:518,464302,182,561277,324,0002,002,0002,277,376
17Jan 10, 2026 00:518,510306,484,819278,837,0001,998,0002,383,872
18Jan 10, 2026 00:518,666311,948,473283,971,0001,999,0002,277,376