diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2024-09-30 16:08:27 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-09-30 16:08:27 +0530 |
commit | 3496b0ed08c51e37e135e686b1632fd86f930c2c (patch) | |
tree | 1da44792489607070f3b4ca14d82af05b73e362b /problems/boatraceanalysis/attachments/template.cpp |
(init): Initialize repository.
Diffstat (limited to 'problems/boatraceanalysis/attachments/template.cpp')
-rw-r--r-- | problems/boatraceanalysis/attachments/template.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/problems/boatraceanalysis/attachments/template.cpp b/problems/boatraceanalysis/attachments/template.cpp new file mode 100644 index 0000000..2cb2feb --- /dev/null +++ b/problems/boatraceanalysis/attachments/template.cpp @@ -0,0 +1,21 @@ +#include <iostream> +#include <string> +#include <vector> +#include <algorithm> + +using namespace std; + +int main() +{ + int n; + cin >> n; cin.ignore(); + for (int i = 0; i < n; i++) { + string analysis; + getline(cin, analysis); + } + + // Write an answer using cout. DON'T FORGET THE "<< endl" + // To debug: cerr << "Debug messages..." << endl; + + cout << "one line per boat with its position or one line per analysis causing an error" << endl; +} |