UKE!哪位大佬帮下
查看原帖
UKE!哪位大佬帮下
1319065
cxlqwq楼主2024/7/24 16:14

#include using namespace std;

int main() { int a[10000]; for (int i = 0; i < 10000; i++) { cin >> a[i]; } for (int j = 0; j <= 10000; j++) { if (a[j] == 42) cout << a[j] << endl; break; }

return 0;

}```cpp

1 #include 2 using namespace std; 3 ​ 4 int main() { 5 int a[10000]; 6 for (int i = 0; i < 10000; i++) { 7 cin >> a[i]; 8 } 9 for (int j = 0; j <= 10000; j++) { 10 if (a[j] == 42) 11 cout << a[j] << endl; 12 break; 13 } 14 ​ 15 return 0; 16 } 17 ​ 18 UKE!哪位大佬帮下 #include using namespace std;

int main() { int a[10000]; for (int i = 0; i < 10000; i++) { cin >> a[i]; } for (int j = 0; j <= 10000; j++) { if (a[j] == 42) cout << a[j] << endl; break; }

return 0; }



UKE!哪位大佬帮下
2024/7/24 16:14
加载中...