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 listFeb 26, 2025 17:03AdityaAdityaScore: 163,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2025 17:03161,5405,361,714,1025,307,839,00022,986,0002,506,752
2Feb 26, 2025 17:03161,7645,370,925,5775,314,217,00023,982,0002,465,792
3Feb 26, 2025 17:03161,8365,374,419,8035,316,610,00023,984,0002,297,856
4Feb 26, 2025 17:03162,0465,374,072,8635,320,540,00026,982,0002,310,144
5Feb 26, 2025 17:03163,5185,429,217,2815,372,102,00023,982,0002,510,848
6Feb 26, 2025 17:03163,7615,436,275,0225,381,117,00022,983,0002,404,352
7Feb 26, 2025 17:03163,7855,436,191,6985,376,932,00027,978,0002,408,448
8Feb 26, 2025 17:03164,9425,482,676,3365,417,118,00025,981,0002,273,280
9Feb 26, 2025 17:03166,4055,527,143,3125,456,403,00034,970,0002,277,376