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 4, 2024 00:34Henry CafaroHenry CafaroScore: 17,418Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:3417,321596,248,458557,613,00013,990,0002,437,120
2Aug 4, 2024 00:3417,343597,730,503556,339,00015,981,0002,486,272
3Aug 4, 2024 00:3417,353596,043,677559,657,00012,992,0002,273,280
4Aug 4, 2024 00:3417,355595,392,237553,717,00018,990,0002,277,376
5Aug 4, 2024 00:3417,362603,871,059558,976,00013,974,0002,469,888
6Aug 4, 2024 00:3417,402599,953,994558,294,00015,979,0002,416,640
7Aug 4, 2024 00:3417,418649,011,959574,797,75902,240,512
8Aug 4, 2024 00:3417,431609,588,917560,216,00015,005,0002,318,336
9Aug 4, 2024 00:3417,432650,542,589575,261,28102,244,608
10Aug 4, 2024 00:3417,489608,927,265559,177,00017,973,0002,277,376
11Aug 4, 2024 00:3417,522641,723,476578,215,65002,187,264
12Aug 4, 2024 00:3417,522607,288,949563,211,00015,005,0002,502,656