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 listSep 19, 2026 13:33Andrew EpsteinAndrew EpsteinScore: 311,286Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2026 14:09310,2759,308,264,2209,269,175,00027,288,0002,125,824stderr
2Sep 19, 2026 14:09310,7839,323,512,0129,285,829,00026,273,0002,125,824stderr
3Sep 19, 2026 14:09310,8289,324,866,5289,285,989,00027,124,0002,125,824stderr
4Sep 19, 2026 14:09310,9979,329,920,2989,293,440,00024,940,0002,125,824stderr
5Sep 19, 2026 14:09311,2869,338,602,8209,299,305,00027,629,0002,125,824stderr
6Sep 19, 2026 14:09311,3039,339,104,0649,301,441,00026,669,0002,125,824stderr
7Sep 19, 2026 14:09312,0569,361,685,9759,321,447,00028,173,0002,125,824stderr
8Sep 19, 2026 14:09312,0869,362,608,7009,322,348,00028,633,0002,125,824stderr
9Sep 19, 2026 14:09312,2029,366,068,3109,325,666,00028,903,0002,125,824stderr