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 listJun 19, 2023 14:43matsuoka-601matsuoka-601Score: 16,230Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 14:4315,489577,153,490511,131,52302,211,840
2Jun 19, 2023 14:4315,978552,276,027522,266,0004,992,0002,523,136
3Jun 19, 2023 14:4316,208569,601,449529,889,0004,989,0002,531,328
4Jun 19, 2023 14:4316,210566,521,751529,927,0004,989,0002,285,568
5Jun 19, 2023 14:4316,220559,258,169531,269,0003,994,0002,277,376
6Jun 19, 2023 14:4316,228559,945,221531,529,0003,996,0002,281,472
7Jun 19, 2023 14:4316,230566,834,492531,582,0003,996,0002,277,376
8Jun 19, 2023 14:4316,234561,729,143531,717,0003,997,0002,289,664
9Jun 19, 2023 14:4316,288607,237,153537,488,61602,211,840
10Jun 19, 2023 14:4316,309561,530,916534,202,0003,994,0002,277,376
11Jun 19, 2023 14:4316,318567,566,916534,483,0003,996,0002,285,568
12Jun 19, 2023 14:4316,546609,941,660546,012,60802,211,840