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:30Robert BurkeRobert BurkeScore: 12,609Success
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:3012,473439,517,078382,651,00028,973,0002,494,464
2Jul 29, 2022 05:3012,500437,742,274382,449,00030,035,0002,281,472
3Jul 29, 2022 05:3012,527446,463,687384,351,00029,026,0002,408,448
4Jul 29, 2022 05:3012,560443,440,061388,446,00026,029,0002,486,272
5Jul 29, 2022 05:3012,574439,252,962382,949,00031,995,0002,269,184
6Jul 29, 2022 05:3012,595440,213,164386,669,00028,975,0002,306,048
7Jul 29, 2022 05:3012,609442,593,419385,101,00031,008,0002,355,200
8Jul 29, 2022 05:3012,649441,530,626382,382,00035,035,0002,273,280
9Jul 29, 2022 05:3012,655438,756,054386,657,00030,972,0002,387,968
10Jul 29, 2022 05:3012,716475,477,292419,630,38602,260,992
11Jul 29, 2022 05:3012,768485,498,973421,328,48602,260,992
12Jul 29, 2022 05:3012,782481,844,327421,791,09002,207,744