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 listJun 26, 2026 01:41Victor MerckléVictor MerckléScore: 94,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2026 01:4294,3222,829,666,2582,796,938,00022,855,0002,117,632stderr
2Jun 26, 2026 01:4294,3562,830,708,1842,797,314,00023,441,0002,117,632stderr
3Jun 26, 2026 01:4294,4022,832,066,1492,798,666,00023,417,0002,117,632stderr
4Jun 26, 2026 01:4294,5462,836,397,7872,803,857,00022,599,0002,117,632stderr
5Jun 26, 2026 01:4294,7432,842,312,2232,809,563,00023,116,0002,117,632stderr
6Jun 26, 2026 01:4294,7832,843,512,5182,810,567,00023,338,0002,117,632stderr
7Jun 26, 2026 01:4294,8432,845,314,1012,811,509,00022,557,0002,117,632stderr
8Jun 26, 2026 01:4294,8662,846,007,9472,813,058,00023,329,0002,117,632stderr
9Jun 26, 2026 01:4295,0502,851,512,0292,819,216,00022,759,0002,117,632stderr