Unique strings v2 Sergey Svistunov

Same problem as Unique strings, but with 3 CPUs available and scoring based on wall time instead of CPU time.

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 listNov 21, 2025 01:34izotoffizotoffScore: 30,704Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 21, 2025 01:3429,696890,865,384856,490,0005,002,0002,625,536
2Nov 21, 2025 09:1430,021900,617,885861,891,0008,008,0002,387,968
3Nov 21, 2025 01:2530,295908,859,864880,632,0006,004,0002,629,632
4Nov 21, 2025 01:2530,475914,262,610882,428,0007,985,0002,396,160
5Nov 21, 2025 09:1430,482914,464,137886,969,0003,999,0002,465,792
6Nov 21, 2025 01:2530,498914,932,144879,408,0005,989,0002,772,992
7Nov 21, 2025 01:2530,505915,161,808884,255,0004,001,0002,379,776
8Nov 21, 2025 01:2530,704921,133,205886,105,0006,992,0002,752,512
9Nov 21, 2025 01:3430,717921,518,467893,267,0003,996,0002,433,024
10Nov 21, 2025 01:2530,820924,606,160890,390,0006,995,0002,658,304
11Nov 21, 2025 09:1430,820924,595,074889,052,0005,993,0002,818,048
12Nov 21, 2025 01:2530,864925,913,289889,959,0006,006,0002,387,968
13Nov 21, 2025 01:2530,926927,767,568896,688,0005,003,0002,375,680
14Nov 21, 2025 01:3431,300939,007,315916,240,0005,001,0002,613,248
15Nov 21, 2025 01:2531,404942,122,331909,512,0005,990,0002,396,160