Programming 01

馃煝聽諑铡謤摘崭謧诈盏崭謧斩 3 馃

跃謤铡眨斋謤炸 蘸铡謤崭謧斩铡寨崭謧沾 乍 寨铡湛铡謤沾铡斩 战窄铡宅謮
請謧詹詹榨諞謩 战窄铡宅炸謮
#include <iostream>
int main() {
   const int n = 5;
   int arr[n] = {5, 2, 3, 1, 4};
   for (int i = 0; i <= n; i++) {
      std::cout << arr[i] << " ";
   }
}

Constraints

Time limit: 1 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue