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 listFeb 12, 2026 00:29olliecrowolliecrowScore: 15,478Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 12, 2026 00:2915,392535,846,682498,951,0008,999,0002,330,624
2Feb 12, 2026 00:3315,411535,035,691498,577,0009,991,0002,310,144
3Feb 12, 2026 00:3315,412533,658,516499,598,0008,992,0002,322,432
4Feb 12, 2026 00:2915,414538,318,121499,663,0008,993,0002,543,616
5Feb 12, 2026 00:3315,433535,871,995501,295,0008,004,0002,449,408
6Feb 12, 2026 00:3315,436534,278,978501,385,0008,006,0002,449,408
7Feb 12, 2026 00:2915,439535,149,149500,504,0008,991,0002,314,240
8Feb 12, 2026 00:3315,439538,280,662501,507,0007,992,0002,555,904
9Feb 12, 2026 00:3315,442539,469,715500,588,0008,992,0002,387,968
10Feb 12, 2026 00:2915,478533,521,760500,790,0009,995,0002,404,352
11Feb 12, 2026 00:2915,488533,163,224503,105,0008,001,0002,310,144
12Feb 12, 2026 00:2915,512536,866,242502,900,0008,998,0002,310,144
13Feb 12, 2026 00:2915,536534,094,880502,699,0009,994,0002,322,432
14Feb 12, 2026 00:3315,541546,122,258503,856,0008,997,0002,314,240
15Feb 12, 2026 00:2915,571542,401,055503,834,0009,996,0002,539,520
16Feb 12, 2026 00:2915,593539,484,753506,587,0007,993,0002,502,656
17Feb 12, 2026 00:3315,624541,977,553505,587,0009,991,0002,543,616
18Feb 12, 2026 00:3315,624541,752,627505,606,0009,992,0002,465,792