916
订阅者
无数据24 小时
-47 天
+5530 天
帖子存档
https://leetcode.com/CookiesWasTaken/
Want to purchase this Leetcode Guardian Account? 😍
https://leetcode.com/Virus_ARzk/
https://leetcode.com/rohitashwa01/
Anyone wants these IDs?
Very cheap price, dm me ☠️
if anyone wants to buy this Codeforces id, dm me @cp_wala
https://codeforces.com/profile/Loki_Coder
if anyone wants to buy this Codeforces id, dm me @cp_wala
https://codeforces.com/profile/Loki_Coder
Bhai koi AtCoder de raha hai to please Q2 ka testcase explain kardo 🥺
@cp_wala
void code()
{
int n;
cin >> n;
vector arr(n);
for (int &i : arr)
cin >> i;
int minIndex = 0;
for (int i = 0; i < n; i++)
if (arr[i] < arr[minIndex])
minIndex = i;
int res = minIndex;
for (int i = minIndex; i < n - 1; i++)
if (arr[i] > arr[i + 1])
res = -1;
cout << res << endl;
}
// E
// Enjoy ❤️
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
