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 listNov 6, 2024 20:11Maxim YurchukMaxim YurchukScore: 471,608Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 20:11469,01115,517,806,85015,366,424,000110,938,0002,420,736
2Nov 6, 2024 20:11470,47915,561,467,80615,429,860,00095,943,0002,269,184
3Nov 6, 2024 20:11470,56115,565,854,94315,441,577,00086,946,0002,277,376
4Nov 6, 2024 20:11470,97015,576,105,80615,434,084,000107,937,0002,338,816
5Nov 6, 2024 20:11471,60815,603,460,64915,463,114,00099,936,0002,514,944
6Nov 6, 2024 20:11472,39215,628,363,68915,480,999,000107,937,0002,514,944
7Nov 6, 2024 20:11473,71515,675,806,61215,534,654,00097,941,0002,297,856
8Nov 6, 2024 20:11474,94815,716,561,77715,574,338,00098,938,0002,510,848
9Nov 6, 2024 20:11480,40615,892,697,76115,730,467,000122,917,0002,265,088