1234567891011121314151617181920212223242526 |
- #include "testlib.h"
- #include <iostream>
- using namespace std;
- int main(int argc, char *argv[]) {
- setName("Interactor A+B");
- registerInteraction(argc, argv);
-
- int n = inf.readInt();
- for (int i = 0; i < n; i++) {
-
- int a = inf.readInt();
- int b = inf.readInt();
-
- cout << a << " " << b << endl;
-
- tout << ouf.readInt() << endl;
- }
-
- quitf(_ok, "%d queries processed", n);
- }
|