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 listOct 31, 2026 05:25Andrew EpsteinAndrew EpsteinScore: 124,565Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2026 05:28124,1023,723,088,6944,161,743,00043,367,0002,322,432stderr
2Oct 31, 2026 05:28124,3343,730,023,1274,173,772,00043,659,0002,232,320stderr
3Oct 31, 2026 05:28124,3373,730,137,8404,172,704,00044,919,0002,326,528stderr
4Oct 31, 2026 05:28124,3623,730,860,7084,173,625,00045,301,0002,326,528stderr
5Oct 31, 2026 05:28124,5653,736,979,2224,174,938,00045,355,0002,232,320stderr
6Oct 31, 2026 05:28124,7393,742,191,1534,187,333,00044,092,0002,322,432stderr
7Oct 31, 2026 05:28124,7743,743,230,6444,177,119,00045,696,0002,314,240stderr
8Oct 31, 2026 05:28124,8583,745,766,7454,186,996,00044,512,0002,232,320stderr
9Oct 31, 2026 05:28124,9773,749,338,1754,229,130,00044,026,0002,326,528stderr