Ilya_konstantinov

Untitled

Feb 10th, 2026 (edited)
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | Source Code | 0 0
  1. ========================================== solve.cpp
  2. #include <cstdint>
  3. #include <iostream>
  4.  
  5. extern "C" uint64_t ArgSum(uint64_t a, uint64_t b, uint64_t c, uint64_t d);
  6.  
  7. int main() {
  8.     unsigned long long a, b, c, d;
  9.     std::cin >> a >> b >> c >> d;
  10.     std::cout << ArgSum(a, b, c, d);
  11. }
  12.  
  13. ========================================== solve.S
  14. .intel_syntax noprefix
  15. .section .note.GNU-stack
  16.  
  17. .section .text
  18.  
  19. .global ArgSum
  20. ArgSum:
  21.     // TODO: your code here.
  22.     ret
  23.  
Advertisement
Add Comment
Please, Sign In to add comment