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 00:54Charles CabergsCharles CabergsScore: 15,931Success
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 00:5615,462463,877,7921,316,632,00017,967,0002,936,832
2Apr 27, 2026 00:5615,481464,437,8131,317,051,00016,974,0002,953,216
3Apr 27, 2026 00:5615,571467,142,4301,318,132,00015,977,0002,953,216
4Apr 27, 2026 00:5615,642469,284,9001,323,324,00015,979,0002,822,144
5Apr 27, 2026 00:5615,931477,936,8011,357,447,00015,969,0002,940,928
6Apr 27, 2026 00:5615,966478,982,9171,356,535,00016,969,0002,949,120
7Apr 27, 2026 00:5615,977479,329,9071,360,963,00015,976,0002,949,120
8Apr 27, 2026 00:5616,116483,486,5851,365,055,00017,961,0002,953,216
9Apr 27, 2026 00:5616,167485,023,5461,356,672,00017,955,0002,764,800