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 listJan 11, 2025 00:16Ian MckibbenIan MckibbenScore: 78,445Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2025 00:1677,5712,582,218,5232,538,848,00020,990,0002,482,176
2Jan 11, 2025 00:1678,1422,602,558,3132,555,712,00022,988,0002,510,848
3Jan 11, 2025 00:1678,3202,608,509,8922,563,565,00020,988,0002,306,048
4Jan 11, 2025 00:1678,3842,614,775,2712,559,673,00026,986,0002,486,272
5Jan 11, 2025 00:1678,4452,612,591,2122,567,691,00020,989,0002,338,816
6Jan 11, 2025 00:1678,5962,622,662,4432,569,676,00023,987,0002,461,696
7Jan 11, 2025 00:1678,6782,627,108,4312,568,397,00027,982,0002,322,432
8Jan 11, 2025 00:1679,0722,637,977,6832,586,375,00022,985,0002,465,792
9Jan 11, 2025 00:1680,4402,677,573,1502,624,538,00029,983,0002,519,040