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 listMay 11, 2024 23:41Joad NacerJoad NacerScore: 11,982Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2024 23:4111,910419,423,419333,030,00060,005,0002,416,640
2May 11, 2024 23:4111,926415,105,089334,615,00058,932,0002,400,256
3May 11, 2024 23:4111,943424,987,467335,253,00058,868,0002,314,240
4May 11, 2024 23:4111,947422,867,619334,355,00059,884,0002,490,368
5May 11, 2024 23:4111,968420,332,626336,959,00057,993,0002,404,352
6May 11, 2024 23:4111,978421,529,413333,397,00061,888,0002,408,448
7May 11, 2024 23:4111,982419,936,388337,495,00057,913,0002,514,944
8May 11, 2024 23:4112,079421,968,268337,669,00060,940,0002,314,240
9May 11, 2024 23:4112,254459,589,700404,371,79702,203,648
10May 11, 2024 23:4112,330471,506,578406,898,62702,203,648
11May 11, 2024 23:4112,333439,380,425347,131,00059,850,0002,408,448
12May 11, 2024 23:4112,753480,301,237420,862,18302,199,552