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 24, 2025 00:04zielajzielajScore: 4,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 24, 2025 00:054,020165,350,704121,701,00010,973,0002,416,640
2Dec 24, 2025 00:054,021156,340,257122,720,0009,977,0002,396,160
3Dec 24, 2025 00:054,024160,692,575121,813,00010,983,0002,428,928
4Dec 24, 2025 00:054,025152,366,560126,847,0005,992,0002,367,488
5Dec 24, 2025 00:054,027154,906,801124,909,0007,994,0002,445,312
6Dec 24, 2025 00:054,027159,685,587125,911,0006,995,0002,375,680
7Dec 24, 2025 00:044,028153,910,257124,920,0007,994,0002,486,272
8Dec 24, 2025 00:054,028163,721,687121,920,00010,992,0002,379,776
9Dec 24, 2025 00:044,032154,502,163124,048,0009,003,0002,404,352
10Dec 24, 2025 00:054,041155,997,038125,347,0008,022,0002,281,472
11Dec 24, 2025 00:044,060161,510,298123,980,0009,998,0002,428,928
12Dec 24, 2025 00:054,090157,603,811129,967,0004,998,0002,363,392