+ 1
Template errored
Can any one please help me to understand the error into the attached code? https://code.sololearn.com/coGe3BSoS5wz/?ref=app
5 Réponses
+ 2
~ swim ~ Not working.
I got the solution and I have updated the code. Please check it. Let me know if you have better solution.
+ 1
~ swim ~ I am trying to implement STD::get(pair) method. But unable get logical idea. I have updated my code into same file.
Could you please check and help here.
My goal is to compile and run last two line from the main.
One them is commented at the moment.
+ 1
𝕿𝖍𝖊 𝕲𝖗𝖊𝖆𝖙 𝕾𝖆𝖌𝖆 I took a look even though I don't have much template programming experience. It appears your get<int> functions are written incorrectly. Try commenting out all the lines except for the first 3 in main and read the output. Also, here is my adjustment of the code with all but the 3 lines commented out. It seems to work like this:
https://code.sololearn.com/cmvjmseLKO5r/?ref=app