foo.cc:9:1: error: expected initializer before 'vector'
vector<ULL> memo;
^~~~~~
foo.cc:11:1: error: 'ULL' does not name a type; did you mean 'NULL'?
ULL n;
^~~
NULL
foo.cc:13:10: error: variable or field 'get' declared void
void get(ULL m, ULL &mmax, ULL &mmin)
^~~
foo.cc:13:10: error: 'ULL' was not declared in this scope
foo.cc:13:10: note: suggested alternative: 'NULL'
void get(ULL m, ULL &mmax, ULL &mmin)
^~~
NULL
foo.cc:13:17: error: 'ULL' was not declared in this scope
void get(ULL m, ULL &mmax, ULL &mmin)
^~~
foo.cc:13:17: note: suggested alternative: 'NULL'
void get(ULL m, ULL &mmax, ULL &mmin)
^~~
NULL
foo.cc:13:22: error: 'mmax' was not declared in this scope
void get(ULL m, ULL &mmax, ULL &mmin)
^~~~
foo.cc:13:28: error: 'ULL' was not declared in this scope
void get(ULL m, ULL &mmax, ULL &mmin)
^~~
foo.cc:13:28: note: suggested alternative: 'NULL'
void get(ULL m, ULL &mmax, ULL &mmin)
^~~
NULL
foo.cc:13:33: error: 'mmin' was not declared in this scope
void get(ULL m, ULL &mmax, ULL &mmin)
^~~~
foo.cc: In function 'int main()':
foo.cc:28:19: error: 'n' was not declared in this scope
while (cin >> n)
^
foo.cc:32:4: error: 'ULL' was not declared in this scope
ULL mmax = 0, mmin = 0;
^~~
foo.cc:32:4: note: suggested alternative: 'NULL'
ULL mmax = 0, mmin = 0;
^~~
NULL
foo.cc:33:11: error: 'mmax' was not declared in this scope
get(n, mmax, mmin);
^~~~
foo.cc:33:17: error: 'mmin' was not declared in this scope
get(n, mmax, mmin);
^~~~
foo.cc:33:17: note: suggested alternative: 'main'
get(n, mmax, mmin);
^~~~
main
foo.cc:35:18: error: 'memo' was not declared in this scope
auto p = find(memo.begin(), memo.end(), n);
^~~~
foo.cc:45:3: error: 'memo' was not declared in this scope
memo.clear();
^~~~
[Hydro](https://hydro.ac)提供评测服务