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:06Robert BurkeRobert BurkeScore: 8,559Success
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:067,945315,125,940262,196,44502,256,896
2Jul 29, 2022 06:067,971323,083,092263,045,75902,248,704
3Jul 29, 2022 06:068,017322,578,761264,574,49202,260,992
4Jul 29, 2022 06:068,524311,093,305273,289,0008,008,0002,273,280
5Jul 29, 2022 06:068,537300,260,703273,745,0007,992,0002,273,280
6Jul 29, 2022 06:068,541309,787,194272,867,0008,995,0002,351,104
7Jul 29, 2022 06:068,559306,578,714274,442,0008,012,0002,400,256
8Jul 29, 2022 06:068,625305,864,121274,631,0009,986,0002,293,760
9Jul 29, 2022 06:068,739318,572,167282,384,0006,008,0002,314,240
10Jul 29, 2022 06:068,755312,940,737279,904,0008,996,0002,523,136
11Jul 29, 2022 06:068,755310,328,191280,907,0007,997,0002,347,008
12Jul 29, 2022 06:068,769315,940,706283,361,0006,007,0002,359,296