diff options
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; +} |