This is the question. I am pretty sure I need a for loop to display the graphs. 댓글을 달려면 로그인하십시오. 채택된 답변 Torsten2022년 3월 10일 추천 0 링크 번역 편집:Torsten2022년 3월 11일 ...
What is wrong with my code? (Solved) https://code.sololearn.com/cJ0JqmtjZfQ9/?ref=app For a few multiples of 3 the code gives the result as prime pythonprime_number 13th Jun 2021, 2:14 PM Priyangshu16 Answers Sort by: Votes Answer + 5 # Priyangshu your actual code still has a...
TypeError: Cannot read property 'source' of undefined at promises.js:35 at Array.map (<anonymous>) at generateHTML (promises.js:31) Below is my code: constastrosUrl='http://api.open-notify.org/astros.json';constwikiUrl='https://en.wikipedia.org/api/rest_v1/page/summary/';constpeople...
What is wrong with my coding lines I wrote: x = input("Farrokh Mokri") print(x) y = input("fhghghghhf hhhghghg ghghhg") print(y) and got the result: Farrokh Mokri fhghghghhf hhhghghg ghghhg Traceback (most recent call last): File "./Playground/file0.py", line 3, in <module...
Wrong answer on test 4. There is (probably) a much better solution, but I can't figure out what is wrong with this. (only main part of the code) int n, q, dfn[200001], low[200001], a[200001], w[200001], an[21][200001], dep[200001], tot = 0, rt = 1; vector<int> gv...
When I run in shell stringcases('what is Wrong with my code') I get ('WHAT IS WRONG WITH MY CODE', 'what is wrong with my code', 'What is wrong with my code', 'edoc ym htiw gnorW si tahw') but I have error in test ...
Here is my code: Code: /*Conversion.c -- Currency conversion*/ #include<stdio.h> int main(void) { float dollar; /* US dollar amount */ float canada; /* Canada equivalent */ float britian; /* Britian equivalent */ float euro; /* Euro equivalent */ float turkey; /* Turkey equiva...
It is supposed to do this: input: 3 4 1 1 1 1 5 8 7 1 3 4 1 5 output: NO YES YES my code: https://codeforces.com/contest/1742/submission/203843549 can you send me the correct code?
Change to the following code len = length(N)%N is 1x100 you want i to go from 1 to 100 therefore change to length(N) instean of N fori = 1:len w(i)=(((i-0.5)*Le(i))*((b-a)/L))+a;% Le is also 1x100 you want to take one elsment at a time use Le(i) ...
Below is the equation for a square wave with period T: ThemeCopy squarewave(t) = sign(sin((2*pi*t)/T); To get your 2D output A, you need to multiply two 1D square waves together. Give it another shot, and let us know if you need mor...