Ilya_konstantinov

Untitled

Feb 27th, 2026
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. =============================== solution.S
  2. .intel_syntax noprefix
  3. .global ackermann
  4. ackermann:
  5. =============================== tests.cpp
  6. #include <iostream>
  7.  
  8. extern "C" int ackermann(int, int);
  9.  
  10. int main() {
  11. int t; std::cin >> t;
  12. while(t--) {
  13. int n, m; std::cin >> n >> m;
  14. std::cout << ackermann(n, m) << '\n';
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment