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 15, 2025 02:01Nguyen Thanh VinhNguyen Thanh VinhScore: 211,786Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2025 02:01210,0056,966,931,0926,905,183,00024,978,0002,306,048
2Oct 15, 2025 02:01210,6766,992,029,4106,932,338,00019,983,0002,441,216
3Oct 15, 2025 02:01211,0507,001,838,4906,945,667,00018,982,0002,347,008
4Oct 15, 2025 02:01211,6797,017,463,0866,956,433,00028,976,0002,347,008
5Oct 15, 2025 02:01211,7867,028,876,5236,968,956,00019,982,0002,338,816
6Oct 15, 2025 02:01213,0427,063,031,2967,014,414,00015,987,0002,310,144
7Oct 15, 2025 02:01213,2147,070,394,8267,012,072,00023,979,0002,338,816
8Oct 15, 2025 02:01214,5477,111,340,5217,060,067,00019,983,0002,355,200
9Oct 15, 2025 02:01218,1707,234,727,4007,184,633,00014,988,0002,416,640