Unique strings Sergey Svistunov

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 listJan 21, 2025 13:12Cameron AavikCameron AavikError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 19:55Andrew Epstein45.62CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 19:56020,033,790,11819,914,426,000101,932,00073,728Killed by timeout
2Jan 21, 2025 13:1234,7741,179,366,787994,596,000152,938,0002,527,232
3Jan 21, 2025 13:1234,8611,176,959,990991,484,000158,917,0002,527,232
4Jan 21, 2025 13:1234,8871,178,532,508987,389,000163,898,0002,535,424
5Jan 21, 2025 13:1234,9701,177,235,876997,132,000156,863,0002,301,952
6Jan 21, 2025 13:1235,0251,181,966,602986,994,000168,828,0002,371,584
7Jan 21, 2025 13:1235,0671,181,807,570988,336,000168,886,0002,289,664
8Jan 21, 2025 13:1235,2791,192,117,6181,007,320,000156,894,0002,465,792
9Jan 21, 2025 13:1235,3531,194,246,2641,017,833,000148,829,0002,482,176
10Jan 21, 2025 13:1235,6831,203,481,0061,031,591,000145,942,0002,347,008