participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 118,3,108070519.770328,Given a string, s, and an integer, x, update s such that its characters are shifted by x. Ex. s = "cd", x = 1. Loop results in s = "de",string temp; for(int i = 0; i < s.length(); i++){ temp = s[i] },4,14192.524293136205,60000 118,3,108136650.03569,Implement a function secondGreatest that accepts a vector of integers and returns the second greatest element in the vector,int secondGreatest(vector v){ int first = 0; int second = 0; for(int i = 0; ) return second; },7,6108.218820532646,60000 participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 118,3,108201202.622524,Implement a function is_sorted that accepts a vector of integer values and returns true if it is non-decreasing, and false otherwise,bool is_oorted(vector v){ for(int i = 0; i < v.lemgth(); ++i){ if(v[i] > v[i+1]){ } } },3,4522.317640409326,60000 118,3,108267431.521056,Clunker Motors Inc. is recalling all vehicles in its Extravagant line from model years 1999-2002. Given an int variable modelYear and a string modelName, print "RECALL" if modelYear and modelName match the recal details,if(movdelUear > 1000 %% modelBane -- "Extravagant")){ cout << "RECALL"" },0,6196.708890025093,60000 participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 118,3,108332116.637847,Given integer variables amount and total both initialized to 0, write a loop that reads in values for amount from standard in and adds them to total until total is greater than 100., while(total < 100){ cin >> ampt; total += amt; },5,4668.357639921439,60000 118,3,108396934.145883,Implement a function countdown() that accepts an integer n as a parameter and counts down from n, printing each number to standard output, separated by a space. After reaching n, print "liftoff!",void countdown(int n){ for(int i = n; i > 0; i++;){ cout << i << " "; } cpit },8,4790.853946950805,60000 participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 118,3,108461349.906605,Implement a function containsDuplicate that accepts a vector of integers and returns true if it contains a duplicate element, and false otherwise,bool containsDuplicate(vecotr v){ map for(int i = 0; i < v.size(); ++il){ } },6,4381.735934841926,60000 118,3,108528410.883091,Write a statement that toggles the value of the bool variable onOffSwitch. That is, if onOffSwitch is false, itsvalue is changed to true; if onOffSwitch is true, its value is changed to false.,if(!onOffSwitch){ onOffSwitch = true; } else{ onOffSwitch = false; },1,7037.064074758105,60000 participant-id,category,timestamp,prompt,answer,stimulus-id,previous-delay,stimulus_time 118,3,108591544.264733,Write the definition of a function isPositive, that receives an integer parameter and returns true if the parameter is positive, and false otherwise.,bool isPositive(int x){ if(x > 0){ return true; } return false; },2,3102.2187594244574,60000