| Problem | molecules | 
|---|---|
| User | mertbbm | 
| Submission Time | 2023-05-06 23:02:46 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 molecules.cpp: In function ‘std::vector<int> find_subset(int, int, std::vector<int>)’:
molecules.cpp:8:2: error: ‘pii’ was not declared in this scope
    8 |  pii arr[n];
      |  ^~~
molecules.cpp:10:3: error: ‘arr’ was not declared in this scope
   10 |   arr[x]={w[x],x+1};
      |   ^~~
molecules.cpp:12:7: error: ‘arr’ was not declared in this scope
   12 |  sort(arr,arr+n);
      |       ^~~
molecules.cpp:16:5: error: expected ‘;’ before ‘ans’
   16 |  pii ans;
      |     ^~~~
      |     ;
molecules.cpp:26:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   26 |    ans.first=ptr;
      |    ^~~
      |    abs
molecules.cpp:33:12: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   33 |  for(int x=ans.first;x<=ans.second){
      |            ^~~
      |            abs
molecules.cpp:33:35: error: expected ‘;’ before ‘)’ token
   33 |  for(int x=ans.first;x<=ans.