fork(26) download
  1. #include <iostream>
  2.  
  3. #define STRINGIFY_(x) #x
  4. #define STRINGIFY(x) STRINGIFY_(x)
  5.  
  6. #define STR "SOME_STRING"
  7. #define BM 8
  8. #define S_BM STRINGIFY(BM)
  9. #define NUM_OF_THREADS 8
  10. #define S_NUM_OF_THREADS STRINGIFY(NUM_OF_THREADS)
  11. #define VER_STR STR S_BM S_NUM_OF_THREADS
  12.  
  13. int main() {
  14. // your code goes here
  15. std::cout << VER_STR;
  16. return 0;
  17. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
SOME_STRING88