fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. constexpr long long pow10_(int p) {
  5. return p ? pow10_(p-1) * 10 : 1;
  6. }
  7.  
  8. constexpr long long operator "" _e9 (unsigned long long l) {
  9. return l * pow10_(9);
  10. }
  11. constexpr long long operator "" _e18 (unsigned long long l) {
  12. return l * pow10_(18);
  13. }
  14. constexpr long long operator "" _e5 (unsigned long long l) {
  15. return l * pow10_(5);
  16. }
  17.  
  18. int main() {
  19. const int A = -1_e9;
  20. const long long B = 1_e18 + 1;
  21. static int C[1_e5 + 5];
  22. cout << A << ' ' << B << ' ' << sizeof(C)/sizeof(int) << endl;
  23.  
  24. return 0;
  25. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
-1000000000 1000000000000000001 100005