algorithms – From a pool of n questions generate as many questionnaires as possible

From a group of n questions, generate as many questionnaires as possible.
Each question contains questionId, difficulty level and tag.

conditions:

  • questionId in 1 to n and unique
  • question tag in (tag1, tag2, tag3, tag4, tag5, tag6)
  • level of difficulty in (easy, medium, difficult)
  • 300 <= n <= 1000
  • A question can only be used once in a quiz.

CRITERIA FOR GENERATING A QUIZ

Contribution

  • a single line containing n
  • n following lines each containing a description of the question (see below)
  • questionId tag difficulty_level

Exit

Generate human web traffic on your website for $ 30

Generate human web traffic on your website

Do you expect to get 100% secure, real and high quality web traffic without any penalty for your website? Of course, it is a 100% service adapted to your needs. To use our service, you can increase your traffic and your SEO ranking. You will get about 4,000 quality visitors from the search engines and different social media every day for 7 days non stop. So, totally, your website receives 30,000 new real visitors for only $ 5.

This is useful for: –
✓ Real traffic growth on your website
✓ Increase the SEO ranking
✓ Make your site more popular

Characteristics:-
✓ Safe 100% Ad-sense
✓ Global traffic
✓ Instant start command
✓ Without any penalty of google type

✓The tracking link will be provided

NOTE: We do not guarantee the sales and conversion of your site because it depends on your website and the user interaction!

.

tls – How to generate a trusted SSL certificate for secure MQTT?

I am a beginner in computer security and everything about SSL goes through my head.

I am currently trying to connect an IoT device (ESP32) to an MQTT broker, broker.losant.com:8883 in my case, on TLS. The device has been flashed with Mongoose OS, which relies on the mbedTLS library to protect MQTT.

The problem I am facing is that mbedTL says that "the certificate is not properly signed by the trusted CA" when I use a self-signed certificate. Where can I get this certificate of trust or how am I supposed to generate it? I have been searching the Internet for some time now, but unfortunately, nothing is present in the Mongoose-OS documentation.

Tell me what are the steps to get my secure MQTT connection up and running.

How to generate a generic modal with Angular and Bootstrap?

Hello

I am developing an application and I need to implement an angular function that allows me to display the query in modal form when I make a call to a service. I did it with mdBootstrap, but for different reasons, I wish to work with Pure Bootstrap.
This is the method I use in MdBootstrap.

import {MDBModalRef, MDBModalService} from ng-uikit-pro-standard & # 39 ;;
import {ModalgenericoComponent} from "../pages/modalgenerico/modalgenerico.component"

enter the description of the image here

the problem is that with Bootstrap, I do not have the means to do this import
import {MDBModalRef, MDBModalService} from ng-uikit-pro-standard & # 39 ;;

Generate quality traffic that converts for $ 3

Generate quality traffic that converts

for $ 3 you get Quality niche traffic for 30 days.

My network and I will help you drive targeted traffic.

Looking for quality traffic that actually converts? Look no further, you have found the right service that can really produce results.

Our experience proves that we can deliver real results to customers like you. Check our service to see for yourself, we provide exceptional service beyond.

With clear direction and direction and strategy, you're more likely to increase conversions and sales.

Attracting the right traffic according to your needs requires strategy and execution. Our team of creative students working in collaboration with recognized sales experts is an undeniable competitive advantage.

Do not waste your time running in search of brilliant objects, trust our service to provide only quality services.

Thank you

.

magento2.3 – Can not run vendor / bin / mftf generate: command-line tests in Magento 2.3

When I run this command line vendor / bin / mftf gener: tests in the Magento root, he shows me an error:

in ModuleReSovlver.php line 444:

Unable to recover Magento Instance API <403 Forbidden>

Anyone can help me, I do not know what's the problem here?

html5 – Generate a single header in Table with PHP with Foreach

One possibility is that the table encapsulates the forbecause this allows for the unique presentation of the header and iterates the build function of the table body.

        // The beginning of the table and the header are outside for and foreach loops
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo& # 39 ;;

echo ""I added the statement of the body of the table

// I kept the same code in php I just removed spaces and comments
for ($ i = 0; $ i < count($arquivo);$i++ ){
     $totArquivos +=count($arquivo);  
     foreach( $arquivo as $arquivo[$i]){        
        $xml ->load ($ file[$i]) or die ("");
$ file[$i] = $ xml-> getElementsByTagName ("nfeProc");
$ keyS = $ xml-> getElementsByTagName ("infNFe");
$ key = $ keyS-> item (0) -> getAttribute ("Id");
$ dataEMS = $ xml-> getElementsByTagName ("dhEmi");
$ dataEmi = $ dataEMS-> item (0) -> nodeValue;
$ cfopS = $ xml-> getElementsByTagName ("CFOP");
$ cfop = $ cfopS-> item (0) -> nodeValue;
$ modelS = $ xml-> getElementsByTagName ("mod");
$ model = $ modelS-> item (0) -> nodeValue;

// This part of the code is specific to the construction of table rows.

echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";

} // Leave the foreach block
} // Close the block for

echo "// close the body of the table

echo "
ACCESS KEYDate of issueCFOPValueModelStatus
key $".date ('j / m / y', strtotime ($ dataEmi))."$ cfop".number_format ($ vaPag, 2)."model reason
"// Conclude the table declaration

To encapsulate, I practically kept your code. I just restructured it and removed the comments and spaces between the lines in order to center the PHP code and highlight the purpose that is the structure of the table outside the iterators.

I removed it from the inside for each the table declaration, opening tag

I put it before for and the closing tag

I put it after for. I also took the header and I grouped it next to the opening tag of the table.

I put the tag

.

In the for each I just left the tags responsible for generating the rows of the table.

And here is the code of the question with the modification:

load ($ files) or die ("");
// Gets inside the parent node of XML
$ files = $ xml-> getElementsByTagName ("nfeProc");

// Get the name
$ names = $ xml-> getElementsByTagName ("xName");
$ name = $ names-> item (0) -> nodeValue;
// Get the CNPJ
$ cnpjS = $ xml-> getElementsByTagName ("CNPJ");
$ cnpj = $ cnpjS-> item (0) -> nodeValue;

// Display the data of the transmitter
echo "
"; echo "
Company (general ledger):

name

"; echo "
CNPJ:

$ cnpj

"; echo "
"; pause } // I do not understand why this redundancy ??? $ file = $ file; // The beginning of the table and the header are outside for and foreach loops echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo& # 39 ;; echo ""I added the statement of the body of the table // modified fragment for ($ i = 0; $ i < count($arquivo);$i++ ){ $totArquivos +=count($arquivo); foreach( $arquivo as $arquivo[$i]){ $xml ->load ($ file[$i]) or die (""); $ file[$i] = $ xml-> getElementsByTagName ("nfeProc"); $ keyS = $ xml-> getElementsByTagName ("infNFe"); $ key = $ keyS-> item (0) -> getAttribute ("Id"); $ dataEMS = $ xml-> getElementsByTagName ("dhEmi"); $ dataEmi = $ dataEMS-> item (0) -> nodeValue; $ cfopS = $ xml-> getElementsByTagName ("CFOP"); $ cfop = $ cfopS-> item (0) -> nodeValue; $ modelS = $ xml-> getElementsByTagName ("mod"); $ model = $ modelS-> item (0) -> nodeValue; // This part of the code is specific to the construction of table rows. echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } // Leave the foreach block } // Close the block for echo "// close the body of the table echo "
ACCESS KEYDate of issueCFOPValueModelStatus
key $".date ('j / m / y', strtotime ($ dataEmi))."$ cfop".number_format ($ vaPag, 2)."model reason
"// Conclude the table declaration ?>

P2WPKH – which private key is used to generate the signature?

I look at the example BIP143 P2WPKH. I'm kind of the next up to the generation of sigHash: c37af31116d1b27caf68aae9e3ac82f1477929014d5b917657d0eb49478cb670 but then this is used to generate the signature 304402203609e17b84f6a7d30c80bfa610b5b4542f32a8a0d5447a12fb1366d7f01cc44a023573a954c4518331561406f90300e8f3358f5195d51928d43c212a8ca. Since this transaction has two entries, I would expect the two corresponding private keys to generate a signature. So, how is this signature obtained in the example?

Generate targeted traffic of more than 5,000 geo for $ 10

Generate over 5000 targeted geo traffics

5,000+ best quality SEO visitors for your website
Better Characteristics

  • 100% AdSense / any other secure addition to the network
  • 100% protected from penguins, pandas and hummingbirds
  • TRAFFIC will spread all day
  • Targeted countries and geographic regions (over 100 countries) – USA is the default
  • SEO complementary / friendly visitors

Thank youTraffic clerk

.

Crypto Trading becomes very easy if you know that the signal you are trading will generate a huge profit in advance. – Advertising, offers

Visit Daliy Crypto Analysis, Free Crypto Bot, Bitcoin Bot, Daily Profitable Profitable Signal and Gdax Trading – https://t.me/cryptosignalalert

One of the largest and growing of the Binance Telegram Group, which makes exceptional profits every day.

They have about 80,000 active members and earn daily profits. Crypto Trading is very profitable ONLY if you are doing the right thing.

They provide FREE BOT encryption that copies all these signals and performs automatic transactions to your account if you enable this option.

The market made a remarkable move and everything was captured by this efficient Crypto Bot.

They offer a free trial, visit and grab this opportunity as soon as possible.

Trading becomes very easy if you know that the signal you are trading will be a huge profit in advance.

.