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 2, 2024 20:30Henry CafaroHenry CafaroScore: 17,635Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2024 20:3017,473603,017,557561,619,00014,989,0002,519,040
2Aug 2, 2024 20:3017,547599,351,126561,056,00018,001,0002,277,376
3Aug 2, 2024 20:3017,553602,240,174562,227,00017,006,0002,392,064
4Aug 2, 2024 20:3017,560604,606,262568,482,00010,989,0002,277,376
5Aug 2, 2024 20:3017,627641,495,654581,702,10102,277,376
6Aug 2, 2024 20:3017,631606,398,052564,822,00016,994,0002,347,008
7Aug 2, 2024 20:3017,635603,219,011564,948,00016,998,0002,277,376
8Aug 2, 2024 20:3017,688606,703,474567,719,00015,992,0002,465,792
9Aug 2, 2024 20:3017,817648,544,940587,958,33802,277,376
10Aug 2, 2024 20:3017,922656,088,888591,413,95302,269,184
11Aug 2, 2024 20:3017,993615,844,040574,763,00018,992,0002,465,792
12Aug 2, 2024 20:3018,137626,074,787587,532,00010,991,0002,265,088