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 05:22Robert BurkeRobert BurkeScore: 12,915Success
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 05:2212,734444,165,811393,208,00027,014,0002,465,792
2Jul 29, 2022 05:2212,777446,141,159393,673,00027,976,0002,465,792
3Jul 29, 2022 05:2212,782444,864,922390,816,00030,985,0002,408,448
4Jul 29, 2022 05:2212,793443,537,492392,172,00030,013,0002,293,760
5Jul 29, 2022 05:2212,892448,880,459398,414,00027,028,0002,453,504
6Jul 29, 2022 05:2212,893490,554,721425,456,49902,236,416
7Jul 29, 2022 05:2212,915452,608,994402,171,00024,010,0002,428,928
8Jul 29, 2022 05:2212,944457,575,495394,140,00033,011,0002,273,280
9Jul 29, 2022 05:2212,969453,465,588396,968,00030,997,0002,461,696
10Jul 29, 2022 05:2212,986489,954,812428,541,82802,236,416
11Jul 29, 2022 05:2212,990454,950,443401,676,00026,978,0002,347,008
12Jul 29, 2022 05:2213,370512,575,720441,203,71402,215,936