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 listAug 8, 2023 17:46matsuoka-601matsuoka-601Score: 8,872Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2023 17:468,811317,800,476254,795,00035,971,0002,490,368
2Aug 8, 2023 17:468,823320,930,250250,136,00041,022,0002,502,656
3Aug 8, 2023 17:468,823318,886,243255,154,00036,021,0002,461,696
4Aug 8, 2023 17:468,834314,784,128251,575,00039,932,0002,433,024
5Aug 8, 2023 17:468,835316,059,394255,613,00035,945,0002,392,064
6Aug 8, 2023 17:468,841318,933,819254,781,00036,968,0002,494,464
7Aug 8, 2023 17:468,872320,784,061251,807,00040,968,0002,310,144
8Aug 8, 2023 17:468,883319,313,371256,127,00037,018,0002,506,752
9Aug 8, 2023 17:468,895323,521,465254,583,00038,936,0002,347,008
10Aug 8, 2023 17:468,900382,111,931293,689,72302,293,760
11Aug 8, 2023 17:468,905351,738,921293,862,75302,191,360
12Aug 8, 2023 17:468,949363,773,504295,331,37002,297,856