diff --git a/CodeChef/CNOTE.cpp b/CodeChef/CNOTE.cpp index 3468704..e9489e2 100644 --- a/CodeChef/CNOTE.cpp +++ b/CodeChef/CNOTE.cpp @@ -16,13 +16,13 @@ int main() { { cin>>p[i]>>c[i]; } - int f = 0; + int g = 0; for(int i = 0; i= (x-y) && c[i] <= k) - f++; + g++; } - if(f == 0) + if(g == 0) cout<<"UnluckyChef"<<"\n"; else cout<<"LuckyChef"<<"\n";