diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-12-04 18:37:07 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-12-04 18:37:07 +0100 |
| commit | e602cff985169e792ca2f5fe047c4cc8ab5ad040 (patch) | |
| tree | c9308b54b06a78fe9e530c291b7ec97926b0a72b /4/part1.c | |
| parent | 7465602d9b2f7b23976d0905249fd085f4364300 (diff) | |
Support benchmarking
Diffstat (limited to '4/part1.c')
| -rw-r--r-- | 4/part1.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,7 +62,7 @@ int count_valid_passports(const char *filename) return correct; } -int main() +int main(int argc, char *argv[]) { - printf("%i", count_valid_passports("input")); + printf("%i", count_valid_passports(argv[1])); } |
