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 21, 2025 05:22Rajarshi BasuRajarshi BasuScore: 5,084Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2025 05:225,024196,762,542161,800,0003,995,0002,428,928
2Dec 21, 2025 05:225,037190,370,273162,217,0004,005,0002,355,200
3Dec 21, 2025 05:215,052196,822,704162,719,0003,993,0002,514,944
4Dec 21, 2025 05:225,069199,260,969164,284,0003,005,0002,510,848
5Dec 21, 2025 05:225,073192,052,782164,405,0003,007,0002,379,776
6Dec 21, 2025 05:215,079192,535,942160,595,0007,026,0002,510,848
7Dec 21, 2025 05:225,084193,875,878162,767,0004,992,0002,510,848
8Dec 21, 2025 05:225,101190,954,590163,313,0005,009,0002,514,944
9Dec 21, 2025 05:225,115197,846,049163,791,0004,993,0002,322,432
10Dec 21, 2025 05:215,132199,681,670164,350,0005,010,0002,297,856
11Dec 21, 2025 05:225,135196,584,404163,487,0005,981,0002,486,272
12Dec 21, 2025 05:225,155195,107,954165,106,0005,003,0002,514,944