This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: No Fortran optimization information was provided. You may want to consider | |
setting FCFLAGS and FFLAGS or pass the `--default-fortran-flags` option to | |
`brew install` if your compiler is compatible with GCC. | |
If you like the default optimization level of your compiler, ignore this | |
warning. | |
Warning: No Fortran optimization information was provided. You may want to consider | |
setting FCFLAGS and FFLAGS or pass the `--default-fortran-flags` option to | |
`brew install` if your compiler is compatible with GCC. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
vector<int> doubleValues (const vector<int>& v) | |
{ | |
vector<int> new_values; | |
new_values.reserve(); | |
for (auto itr = v.begin(), end_itr = v.end(); itr != end_itr; ++itr ) | |
{ |