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 25, 2025 16:33Josu San MartinJosu San MartinScore: 30,368Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2025 16:3230,1441,022,543,418982,769,00011,997,0002,478,080
2Dec 25, 2025 16:3230,1571,022,931,320980,200,00014,987,0002,433,024
3Dec 25, 2025 16:3230,2681,021,303,366981,855,00016,997,0002,297,856
4Dec 25, 2025 16:3230,3461,028,534,606984,416,00016,989,0002,289,664
5Dec 25, 2025 16:3230,3481,033,646,071986,493,00014,992,0002,428,928
6Dec 25, 2025 16:3230,3621,036,332,839988,955,00012,999,0002,285,568
7Dec 25, 2025 16:3230,3681,035,763,275984,153,00017,984,0002,293,760
8Dec 25, 2025 16:3230,3731,026,703,373987,335,00014,989,0002,465,792
9Dec 25, 2025 16:3230,6091,038,359,516992,125,00017,984,0002,437,120
10Dec 25, 2025 16:3331,4861,070,420,8191,024,055,00014,986,0002,277,376
11Dec 25, 2025 16:3332,2781,089,793,9191,049,201,00015,987,0002,285,568
12Dec 25, 2025 16:3333,0141,115,477,1261,080,468,0008,995,0002,449,408