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 23, 2025 08:31NoSIMD_C#NoSIMD_C#Score: 89,110Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2025 08:3486,2942,880,836,7102,794,732,00052,975,0002,297,856
2Jan 23, 2025 08:3486,5912,883,058,2182,810,541,00046,975,0002,473,984
3Jan 23, 2025 08:3486,7202,891,033,4702,808,785,00052,977,0002,351,104
4Jan 23, 2025 08:3487,5082,915,635,3062,840,804,00046,963,0002,457,600
5Jan 23, 2025 08:3188,6062,951,879,2182,869,026,00054,962,0002,363,392
6Jan 23, 2025 08:3488,9372,962,072,2782,893,958,00040,971,0002,334,720
7Jan 23, 2025 08:3489,1102,976,340,4092,896,657,00043,979,0002,555,904
8Jan 23, 2025 08:3490,1413,000,725,1732,927,691,00046,962,0002,523,136
9Jan 23, 2025 08:34102,7683,422,056,3103,345,367,00045,963,0002,347,008
10Jan 23, 2025 08:34110,3403,770,938,4343,576,427,00064,808,0002,527,232
11Jan 23, 2025 08:31112,7563,857,804,5173,662,221,00058,730,0002,404,352
12Jan 23, 2025 08:31115,8833,918,583,5813,775,322,00048,823,0002,338,816