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 listDec 30, 2025 20:04Aman | अमनAman | अमनScore: 329,248Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2025 20:04325,55610,778,755,18910,656,401,00086,946,0002,273,280
2Dec 30, 2025 20:04329,24810,905,056,30410,790,211,00074,959,0002,453,504
3Dec 30, 2025 20:04330,59410,943,572,62110,818,673,00090,938,0002,510,848