#include <iostream> using namespace std; int main() { int arr[] = {10, 20, 30, 40, 50}; cout << arr[2] + arr[4] << endl; return 0; }
80
70
60
编译报错