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 listOct 14, 2025 02:50Nguyen Thanh VinhNguyen Thanh VinhScore: 324,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2025 02:50323,73910,715,039,67710,579,446,000103,935,0002,416,640
2Oct 14, 2025 02:50324,04310,729,321,47010,597,494,00095,941,0002,523,136
3Oct 14, 2025 02:50324,08810,728,871,21310,590,983,000103,931,0002,416,640
4Oct 14, 2025 02:50324,73010,753,652,81110,612,144,000103,942,0002,428,928
5Oct 14, 2025 02:50324,90010,754,683,84310,630,774,00090,938,0002,334,720
6Oct 14, 2025 02:50324,94510,759,319,91610,618,246,000104,933,0002,465,792
7Oct 14, 2025 02:50325,13110,762,421,79410,642,388,00086,945,0002,465,792
8Oct 14, 2025 02:50326,80210,817,326,31210,698,510,00085,947,0002,457,600
9Oct 14, 2025 02:50327,74310,853,067,17210,725,576,00089,946,0002,457,600