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 listMar 14, 2026 09:44limanjun99limanjun99Score: 38,151Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 14, 2026 09:4437,9231,277,195,3931,231,464,00019,991,0002,408,448
2Mar 14, 2026 09:4437,9951,277,664,6351,234,824,00018,997,0002,465,792
3Mar 14, 2026 09:4438,1101,288,255,0421,244,647,00012,996,0002,473,984
4Mar 14, 2026 09:4438,1181,286,254,8671,240,897,00016,998,0002,461,696
5Mar 14, 2026 09:4438,1511,284,657,7771,241,971,00016,999,0002,273,280
6Mar 14, 2026 09:4438,3131,294,265,6701,245,337,00018,989,0002,297,856
7Mar 14, 2026 09:4439,1551,321,578,1381,275,113,00016,988,0002,260,992
8Mar 14, 2026 09:4439,8441,351,255,9621,298,871,00015,986,0002,281,472
9Mar 14, 2026 09:4439,8761,340,357,8631,297,939,00017,985,0002,281,472