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 listJul 29, 2022 06:29Robert BurkeRobert BurkeScore: 10,216Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2022 06:299,642370,639,333318,176,86002,297,856
2Jul 29, 2022 06:299,678396,934,043319,373,05102,285,568
3Jul 29, 2022 06:299,715381,823,500320,594,83602,183,168
4Jul 29, 2022 06:2910,100358,105,743265,236,00068,060,0002,326,528
5Jul 29, 2022 06:2910,183358,795,220259,034,00077,010,0002,441,216
6Jul 29, 2022 06:2910,206363,992,603261,840,00074,954,0002,416,640
7Jul 29, 2022 06:2910,216363,743,395260,107,00077,031,0002,519,040
8Jul 29, 2022 06:2910,226361,557,491260,576,00076,875,0002,473,984
9Jul 29, 2022 06:2910,238359,809,648265,876,00071,966,0002,498,560
10Jul 29, 2022 06:2910,249366,668,787260,167,00078,050,0002,281,472
11Jul 29, 2022 06:2910,332367,268,912257,976,00082,992,0002,277,376
12Jul 29, 2022 06:2910,468367,660,525292,536,00052,916,0002,330,624