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 listJan 3, 2026 04:03Rajarshi BasuRajarshi BasuScore: 3,329Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 04:003,297138,807,592106,800,0001,996,0002,285,568
2Jan 3, 2026 04:003,304131,560,659107,025,0002,000,0002,285,568
3Jan 3, 2026 04:033,305135,023,856106,079,0003,002,0002,383,872
4Jan 3, 2026 04:033,307131,582,184106,132,0003,003,0002,277,376
5Jan 3, 2026 04:003,311131,604,108107,274,0002,005,0002,285,568
6Jan 3, 2026 04:033,312132,982,268107,275,0002,005,0002,285,568
7Jan 3, 2026 04:003,312135,041,868107,295,0002,005,0002,277,376
8Jan 3, 2026 04:003,313136,282,606107,310,0002,005,0002,387,968
9Jan 3, 2026 04:003,328133,082,141107,832,0001,996,0002,285,568
10Jan 3, 2026 04:003,329132,625,523107,862,0001,997,0002,375,680
11Jan 3, 2026 04:003,333138,656,105106,982,0002,999,0002,285,568
12Jan 3, 2026 04:003,335139,660,367107,052,0003,001,0002,392,064
13Jan 3, 2026 04:003,342132,056,218107,275,0003,007,0002,383,872
14Jan 3, 2026 04:033,346138,091,884107,407,0003,011,0002,285,568
15Jan 3, 2026 04:033,376137,769,052108,402,0003,011,0002,285,568
16Jan 3, 2026 04:003,391138,226,354108,918,0002,997,0002,392,064
17Jan 3, 2026 04:003,399135,868,263109,168,0003,004,0002,383,872
18Jan 3, 2026 04:033,426142,966,336110,048,0003,001,0002,285,568