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 listDec 14, 2024 22:13virusegvirusegScore: 317,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 22:13312,30710,341,747,31810,180,213,000125,903,0002,371,584
2Dec 14, 2024 22:13316,39010,485,182,58510,328,948,000111,912,0002,445,312
3Dec 14, 2024 22:13317,11810,505,934,91210,347,973,000116,920,0002,416,640
4Dec 14, 2024 22:13317,63910,522,085,26310,369,171,000112,925,0002,347,008
5Dec 14, 2024 22:13317,78010,524,152,02110,363,828,000122,914,0002,338,816
6Dec 14, 2024 22:13317,81510,529,263,38910,335,012,000152,881,0002,433,024
7Dec 14, 2024 22:13318,06310,534,238,34610,379,170,000116,923,0002,457,600
8Dec 14, 2024 22:13318,90810,567,779,72510,404,044,000119,908,0002,293,760
9Dec 14, 2024 22:13321,35410,638,662,27610,492,763,000111,912,0002,514,944