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 listApr 24, 2025 22:18Dmitry YudakovDmitry YudakovScore: 180,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 22:18178,1725,916,041,4865,848,693,00030,982,0002,527,232
2Apr 24, 2025 22:18178,4775,919,859,7315,865,770,00023,986,0002,465,792
3Apr 24, 2025 22:18179,6695,959,184,2735,906,107,00022,984,0002,506,752
4Apr 24, 2025 22:18180,0575,973,036,3685,920,907,00020,989,0002,416,640
5Apr 24, 2025 22:18180,3585,981,463,6805,928,825,00022,983,0002,420,736
6Apr 24, 2025 22:18181,3386,014,293,9625,957,167,00026,982,0002,326,528
7Apr 24, 2025 22:18181,8366,038,485,0705,980,608,00019,988,0002,461,696
8Apr 24, 2025 22:18186,5116,182,292,1066,132,871,00021,985,0002,383,872
9Apr 24, 2025 22:18188,6466,256,324,0096,202,333,00022,986,0002,314,240