|
|
вернуться в веткуОтвет на сообщение- Сообщения должны быть написаны на английском языке и соответствовать тематике сайта.
- Сообщения не должны содержать оскорблений и нецензурной лексики.
- Сообщения не должны содержать правильных решений.
Acces Violation test #4 and after that get WA #4, C++. Anyone can help me? still stuck test #4 Послано VNeo 15 июл 2017 10:56 first i get acces violation in my code. and then i search what it acces violation, and then i remake my code, then submit again. still get WA #4, before i reamke the code it says Accces Violation in test #4. Can anybody help me? This is my code. #include <iostream> using namespace std; int n,ar[10000],p; int main(){ cin>>n; for (int i=1;i<=n*n;i++){ cin>>p; ar[p]=p; } for (int i=1;i<=n*n;i++){cout<<ar[i]<<' ';} } Edited by author 15.07.2017 10:58
|
|
|