Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHEFSUM (SEPT17) [C] #257

Merged
merged 2 commits into from
Oct 30, 2017
Merged

CHEFSUM (SEPT17) [C] #257

merged 2 commits into from
Oct 30, 2017

Conversation

DivyeshPuri
Copy link
Collaborator

Fixes #187

  • Pull Request Title is of form Problem Code (Contest Code) [Language].
  • This problem already had an entry in this repository.
    • This solution is better than the one already in this repository.
  • This solution is prepared by me and not copied from anywhere else on the web.
  • I have added a copyright comment in my solution.
  • I have updated README.md file (in appropriate order).
  • I have read and followed Code Samples.
  • I understand that pull request will be closed if I failed to update it even once in a week.

@aashutoshrathi
Copy link
Member

Hi! Thanks for contributing to this repository.
Make sure you have checked points in PR correctly.

}
}
printf("%d\n",index + 1);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

Origin: SpaceConsistencyBear, Section: c/cpp spacing.

The issue can be fixed by applying the following patch:

--- a/tmp/tmptb9luzvn/2017/SEPT/SEPT17/CHEFSUM/CHEFSUM.c
+++ b/tmp/tmptb9luzvn/2017/SEPT/SEPT17/CHEFSUM/CHEFSUM.c
@@ -14,5 +14,5 @@
 			}
 		}
 		printf("%d\n",index + 1);
-	}		
+	}
 }```

}
printf("%d\n",index + 1);
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • No newline at EOF.

Origin: SpaceConsistencyBear, Section: c/cpp spacing.

The issue can be fixed by applying the following patch:

--- a/tmp/tmptb9luzvn/2017/SEPT/SEPT17/CHEFSUM/CHEFSUM.c
+++ b/tmp/tmptb9luzvn/2017/SEPT/SEPT17/CHEFSUM/CHEFSUM.c
@@ -15,4 +15,4 @@
 		}
 		printf("%d\n",index + 1);
 	}		
-}+}

@DivyeshPuri DivyeshPuri changed the title CHEFSUM (Sept17) [C] CHEFSUM (SEPT17) [C] Oct 27, 2017
Copy link
Member

@Monal5031 Monal5031 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CHEFSUM (SEPT 17) [C]
3 participants