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 listApr 27, 2026 08:48Victor MerckléVictor MerckléScore: 136,911Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2026 08:49134,9954,049,856,0954,007,838,00020,988,0002,318,336stderr
2Apr 27, 2026 08:49135,0404,051,202,9814,006,102,00020,990,0002,416,640stderr
3Apr 27, 2026 08:49136,1464,084,397,2134,038,332,00023,984,0002,461,696stderr
4Apr 27, 2026 08:49136,2334,087,002,7594,040,305,00026,988,0002,633,728stderr
5Apr 27, 2026 08:49136,9114,107,352,3274,055,959,00025,986,0002,420,736stderr
6Apr 27, 2026 08:49136,9224,107,669,7654,064,674,00023,986,0002,412,544stderr
7Apr 27, 2026 08:49138,0114,140,340,2154,090,526,00027,983,0002,408,448stderr
8Apr 27, 2026 08:49139,1374,174,134,9994,133,982,00019,990,0002,420,736stderr
9Apr 27, 2026 08:49140,9774,229,335,9424,184,626,00023,986,0002,334,720stderr