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 21, 2026 09:19Charles CabergsCharles CabergsScore: 51,663Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 09:2051,3381,718,734,8761,682,171,00011,994,0002,453,504
2Apr 21, 2026 09:2051,4161,727,643,4771,682,767,00013,989,0002,453,504
3Apr 21, 2026 09:2051,4441,728,425,4191,685,679,00011,990,0002,445,312
4Apr 21, 2026 09:2051,5231,725,581,1031,687,293,00012,994,0002,445,312
5Apr 21, 2026 09:2051,6631,737,814,4821,690,901,00013,990,0002,445,312
6Apr 21, 2026 09:2051,6811,737,250,8771,690,486,00014,995,0002,490,368
7Apr 21, 2026 09:2051,7351,731,682,9371,698,287,0008,996,0002,453,504
8Apr 21, 2026 09:2054,8171,834,560,1201,794,970,00013,991,0002,260,992
9Apr 21, 2026 09:2058,3261,956,633,6771,911,796,00012,991,0002,265,088