diff --git a/D.cpp b/D.cpp index b7f5b9c..e20f153 100644 --- a/D.cpp +++ b/D.cpp @@ -42,7 +42,7 @@ void solve() ll n; cin>>n; vll v(n); - For(i, 0, n) + For(auto i : v) { cin>>v[i]; // if(i==0) continue; @@ -85,4 +85,4 @@ int main() // while(t--) solve(); return 0; -} \ No newline at end of file +}