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 2, 2026 11:59Rajarshi BasuRajarshi BasuScore: 3,420Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 12:003,386141,866,219109,736,0001,995,0002,383,872
2Jan 2, 2026 11:593,390136,803,459108,860,0002,996,0002,285,568
3Jan 2, 2026 12:003,391133,766,625108,896,0002,997,0002,428,928
4Jan 2, 2026 12:003,401136,216,760109,212,0003,005,0002,285,568
5Jan 2, 2026 12:003,401136,599,973109,237,0003,006,0002,506,752
6Jan 2, 2026 12:003,406142,555,538109,393,0003,010,0002,285,568
7Jan 2, 2026 12:003,409136,314,591110,480,0002,008,0002,379,776
8Jan 2, 2026 12:003,417135,296,121109,774,0002,993,0002,392,064
9Jan 2, 2026 12:013,418140,510,646110,801,0001,996,0002,285,568
10Jan 2, 2026 12:003,420135,709,626109,862,0002,996,0002,506,752
11Jan 2, 2026 12:003,435134,150,148110,333,0003,009,0002,285,568
12Jan 2, 2026 12:013,437135,346,444110,404,0003,011,0002,383,872
13Jan 2, 2026 12:003,439143,137,893110,466,0003,012,0002,375,680
14Jan 2, 2026 12:003,444139,707,848109,659,0003,987,0002,285,568
15Jan 2, 2026 11:593,463137,516,752112,282,0002,005,0002,375,680
16Jan 2, 2026 12:013,512140,426,789113,897,0001,998,0002,285,568
17Jan 2, 2026 12:003,524152,084,670113,298,0003,007,0002,285,568
18Jan 2, 2026 11:593,719143,191,351121,719,0001,005,0002,506,752