Ilya_konstantinov

Untitled

Sep 8th, 2025 (edited)
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | Source Code | 0 0
  1. #include <iostream>
  2. #include <exception>
  3.  
  4.  
  5. int main() {
  6.     int old_int, old_add, old_remove;
  7.     std::cin >> old_int >> old_add >> old_remove;
  8.     char number = old_int, add = old_add,
  9.          remove = old_remove;
  10. #define old_int throw std::runtime_error("nope $(");
  11. #define old_add throw std::runtime_error("nope $(");
  12. #define old_remove throw std::runtime_error("nope $(");
  13.  
  14. /*
  15.     ваш код здесь
  16. */
  17.     std::cout << static_cast<int>(number);
  18. }
Advertisement
Add Comment
Please, Sign In to add comment