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 30, 2026 21:54Andrew EpsteinAndrew EpsteinScore: 45,999Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2026 21:5545,6421,517,514,6241,497,659,0008,545,0002,121,728stderr
2Oct 30, 2026 21:5545,8181,523,061,4691,503,561,0008,451,0002,121,728stderr
3Oct 30, 2026 21:5545,9411,527,051,1181,507,536,0008,543,0002,121,728stderr
4Oct 30, 2026 21:5545,9681,528,057,3511,508,587,0008,362,0002,121,728stderr
5Oct 30, 2026 21:5545,9991,528,963,6491,509,459,0008,524,0002,121,728stderr
6Oct 30, 2026 21:5546,2631,537,802,3401,518,318,0008,393,0002,121,728stderr
7Oct 30, 2026 21:5546,3621,540,917,8561,521,528,0008,437,0002,121,728stderr
8Oct 30, 2026 21:5546,4991,545,463,4191,526,030,0008,445,0002,121,728stderr
9Oct 30, 2026 21:5546,5451,546,923,9561,527,585,0008,432,0002,121,728stderr