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 6, 2026 04:26Karthik ReddyKarthik ReddyScore: 3,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2026 04:273,073110,543,050100,346,0001,068,00020,480
2Oct 6, 2026 04:273,082110,775,642100,669,0001,069,00020,480
3Oct 6, 2026 04:273,099111,305,045101,245,0001,029,00020,480
4Oct 6, 2026 04:273,111117,676,249101,620,0001,056,00020,480
5Oct 6, 2026 04:273,126112,304,332102,104,0001,069,00020,480
6Oct 6, 2026 04:273,131112,443,231102,278,0001,068,00020,480
7Oct 6, 2026 04:273,131112,412,002102,314,0001,023,00020,480
8Oct 6, 2026 04:273,146112,869,647102,775,0001,068,00020,480
9Oct 6, 2026 04:273,197114,538,256104,507,0001,018,00020,480