Advertisement
Ilya_konstantinov

op-dispatcher-2

Nov 15th, 2024
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | Source Code | 0 0
  1. #include "func.h"
  2. #include <iostream>
  3.  
  4. int main() {
  5.     int n; std::cin >> n;
  6.     while(n--) {
  7.         char k; int ft, sc;
  8.         std::cin >> k >> ft >> sc;
  9.         std::cout << dispatcher(k, ft, sc) << '\n';
  10.     }
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement