fork(2) download
  1. #include <vector>
  2.  
  3. using namespace std;
  4.  
  5. #define v vector<pair<int, int>>
  6.  
  7. v a(0);
  8.  
  9. int main()
  10. {
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:5:31: error: '>>' should be '> >' within a nested template argument list
 #define v vector<pair<int, int>>
                               ^
prog.cpp:7:1: note: in expansion of macro 'v'
 v a(0);
 ^
stdout
Standard output is empty