Submission #511371

#TimeUsernameProblemLanguageResultExecution timeMemory
511371mohamadsldevNizin (COCI16_nizin)C++17
0 / 100
134 ms6024 KiB
#include <iostream> using namespace std; int main() { int n; cin >> n; int a[n]; for(int i=0;i<n;i++) { cin >> a[i]; } int cnt =0; for(int i=0 ;i<n/2;i++) { if(a[i]!=a[n-i-1]) cnt++; } cout << cnt; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...