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
Date AuthorLanguageStatus Score
Apr 24, 2026 12:20olliecrowolliecrowGOgo1.26.2Error
Apr 24, 2026 11:48olliecrowolliecrowCPPg++10.5.0Success6,770
Apr 24, 2026 03:17olliecrowolliecrowGOgo1.26.2Success13,121
Apr 24, 2026 02:56olliecrowolliecrowCPPg++10.5.0Success6,144
Apr 23, 2026 23:02olliecrowolliecrowGOgo1.26.2Success70,169
Apr 23, 2026 22:47olliecrowolliecrowRUSTrust-1.95.0Success6,038
Apr 23, 2026 22:36olliecrowolliecrowCPPg++10.5.0Success6,706
Apr 23, 2026 18:15Charles CabergsCharles CabergsCPPg++13.3.0Success16,257
Apr 23, 2026 05:12Charles CabergsCharles CabergsCPPg++13.3.0Success16,688
Apr 23, 2026 02:46olliecrowolliecrowRUSTrust-1.94.0Success6,054
Apr 23, 2026 02:32olliecrowolliecrowCPPg++10.5.0Success6,231
Apr 23, 2026 02:25olliecrowolliecrowCPPg++10.5.0Success6,102
Apr 22, 2026 23:30Charles CabergsCharles CabergsCPPg++13.3.0Success16,110+38.25 RP
Apr 22, 2026 20:12Oleg SkinderevOleg SkinderevCPPg++14.2.0Success38,038+262.89 RP
Apr 22, 2026 20:07olliecrowolliecrowCPPg++10.5.0Success6,220
Apr 22, 2026 18:09olliecrowolliecrowRUSTrust-1.94.0Success5,908+91.08 RP
Apr 22, 2026 17:19olliecrowolliecrowGOgo1.26.2Success17,045
Apr 22, 2026 17:04olliecrowolliecrowRUSTrust-1.95.0Success6,841
Apr 22, 2026 16:46olliecrowolliecrowCPPg++10.5.0Success6,274
Apr 22, 2026 12:44BenBenCPPg++14.2.0Success17,530+50.29 RP
Apr 22, 2026 06:36olliecrowolliecrowGOgo1.26.2Success17,152
Apr 22, 2026 06:19olliecrowolliecrowCSHARP9.0.14Success16,590
Apr 22, 2026 01:15olliecrowolliecrowZIG0.14.0Success31,435
Apr 22, 2026 00:58olliecrowolliecrowRUSTrust-1.94.0Success6,244+54.03 RP
Apr 22, 2026 00:54olliecrowolliecrowRUSTrust-1.95.0Success6,903
Apr 22, 2026 00:13olliecrowolliecrowCSHARP9.0.14Success16,228
Apr 21, 2026 21:57BenBenCPPg++14.2.0Success19,225+23.61 RP
Apr 21, 2026 21:50BenBenCPPg++14.2.0Success20,139+186.38 RP
Apr 21, 2026 21:10BenBenCPPg++14.2.0Success36,140
Apr 21, 2026 20:14olliecrowolliecrowCPPg++10.5.0Success7,158
Apr 21, 2026 19:33Charles CabergsCharles CabergsCPPg++13.3.0Success17,325
Apr 21, 2026 17:12olliecrowolliecrowCPPg++10.5.0Success6,462+31.90 RP
Apr 21, 2026 17:11olliecrowolliecrowCPPg++13.3.0Success6,598+76.14 RP
Apr 21, 2026 15:32Charles CabergsCharles CabergsCPPg++13.3.0Success17,168+69.18 RP
Apr 21, 2026 06:27olliecrowolliecrowCPPg++13.3.0Success6,949
Apr 21, 2026 05:07Charles CabergsCharles CabergsCPPg++13.3.0Success19,482+34.69 RP
Apr 21, 2026 00:36Taylor DettlingTaylor DettlingRUSTrust-1.95.0Success36,252+172.31 RP
Apr 21, 2026 00:34Taylor DettlingTaylor DettlingRUSTrust-1.95.0Success96,587+103.53 RP
Apr 20, 2026 23:36olliecrowolliecrowCPPg++10.5.0Success13,846
Apr 20, 2026 23:06olliecrowolliecrowCPPg++10.5.0Success14,823
Apr 20, 2026 20:22Charles CabergsCharles CabergsCPPg++13.3.0Success44,472
Apr 20, 2026 18:39olliecrowolliecrowCPPclang++18.1.3Success14,304
Apr 20, 2026 18:36olliecrowolliecrowCPPg++14.2.0Success11,646
Apr 20, 2026 18:33olliecrowolliecrowCPPclang++18.1.3Success11,108
Apr 20, 2026 16:20BenBenCPPg++14.2.0Success32,241+18.20 RP
Apr 20, 2026 15:57BenBenCPPg++14.2.0Success34,686
Apr 20, 2026 15:07BenBenCPPg++14.2.0Success34,251+41.12 RP
Apr 20, 2026 15:06BenBenCPPclang++20.1.2Success42,826
Apr 20, 2026 15:06BenBenCPPg++14.2.0Success39,865+2.76 RP
Apr 20, 2026 15:06BenBenCPPclang++18.1.3Success42,378
Apr 20, 2026 15:06BenBenCPPg++14.2.0Success40,308+248.09 RP
Apr 20, 2026 14:04olliecrowolliecrowZIG0.14.0Success12,641+2.00 RP
Apr 20, 2026 14:02olliecrowolliecrowRUSTrust-1.94.0Success14,554
Apr 20, 2026 14:01olliecrowolliecrowGOgo1.26.1Error
Apr 20, 2026 13:55olliecrowolliecrowCPPg++13.3.0Success28,237
Apr 19, 2026 07:55olliecrowolliecrowCPPclang++18.1.3Success26,783
Apr 19, 2026 04:31olliecrowolliecrowCPPclang++18.1.3Success28,344
Apr 18, 2026 16:31Charles CabergsCharles CabergsCPPg++13.3.0Success20,894+81.13 RP
Apr 18, 2026 16:06olliecrowolliecrowZIG0.14.0Success12,673+268.95 RP
Apr 18, 2026 15:50olliecrowolliecrowRUSTrust-1.94.0Success27,388
Apr 18, 2026 15:48olliecrowolliecrowRUSTrust-1.94.0Success27,614
Apr 18, 2026 15:47olliecrowolliecrowRUSTrust-1.94.0Success25,567
Apr 18, 2026 15:32olliecrowolliecrowGOgo1.26.1Success13,422
Apr 18, 2026 15:30olliecrowolliecrowGOgo1.26.1Success13,873
Apr 18, 2026 15:19olliecrowolliecrowCSHARP9.0.14Success16,376
Apr 18, 2026 15:16olliecrowolliecrowCSHARP9.0.14Success16,232
Apr 18, 2026 15:09olliecrowolliecrowCSHARP9.0.14Success13,219+120.31 RP
Apr 18, 2026 13:59Charles CabergsCharles CabergsCPPg++13.3.0Success25,314
Apr 18, 2026 09:40Charles CabergsCharles CabergsCPPg++13.3.0Success25,159+2.59 RP
Apr 18, 2026 07:45Charles CabergsCharles CabergsCPPg++13.3.0Success25,324+148.16 RP
Apr 18, 2026 06:43olliecrowolliecrowZIG0.14.0Success42,621
Apr 18, 2026 06:37olliecrowolliecrowZIG0.14.0Success40,508
Apr 18, 2026 06:26olliecrowolliecrowRUSTrust-1.94.0Success14,646
Apr 18, 2026 06:22olliecrowolliecrowRUSTrust-1.94.0Success37,495
Apr 18, 2026 06:15olliecrowolliecrowGOgo1.26.1Success38,065
Apr 18, 2026 06:11olliecrowolliecrowGOgo1.26.1Success58,511
Apr 18, 2026 05:57olliecrowolliecrowCSHARP9.0.14Success181,661
Apr 18, 2026 05:54olliecrowolliecrowCSHARP9.0.14Success122,955
Apr 18, 2026 05:49olliecrowolliecrowCSHARP9.0.14Success70,105
Apr 17, 2026 20:18Charles CabergsCharles CabergsCPPg++13.3.0Success40,532+154.07 RP
Apr 17, 2026 17:41Charles CabergsCharles CabergsCPPg++13.3.0Success107,931+92.65 RP
Apr 17, 2026 03:36olliecrowolliecrowRUSTrust-1.94.0Success17,576
Apr 17, 2026 03:25olliecrowolliecrowRUSTrust-1.94.0Success23,674
Apr 17, 2026 03:22olliecrowolliecrowCPPclang++18.1.3Error
Apr 17, 2026 03:22olliecrowolliecrowRUSTrust-1.94.0Success16,711
Apr 17, 2026 03:20olliecrowolliecrowCPPclang++18.1.3Error
Apr 17, 2026 03:17olliecrowolliecrowCPPclang++18.1.3Error
Apr 17, 2026 03:17olliecrowolliecrowRUSTrust-1.94.0Success17,128
Apr 17, 2026 03:15olliecrowolliecrowRUSTrust-1.94.0Success17,102
Apr 17, 2026 03:07olliecrowolliecrowGOgo1.26.1Success13,211
Apr 17, 2026 03:04olliecrowolliecrowGOgo1.26.1Success13,544
Apr 17, 2026 03:01olliecrowolliecrowGOgo1.26.1Success13,495
Apr 16, 2026 20:38olliecrowolliecrowCSHARP9.0.14Error
Apr 16, 2026 20:08olliecrowolliecrowGOgo1.26.1Success13,275
Apr 16, 2026 20:00olliecrowolliecrowZIG0.14.0Success31,438
Apr 16, 2026 18:09olliecrowolliecrowZIG0.14.0Error
Apr 16, 2026 17:21olliecrowolliecrowZIG0.14.0Success33,247
Apr 16, 2026 17:05olliecrowolliecrowZIG0.14.0Error
Apr 16, 2026 17:01olliecrowolliecrowZIG0.14.0Error
Apr 16, 2026 16:57olliecrowolliecrowZIG0.14.0Success120,051