Problem potatosalad
User Quackadodo110411
Submission Time 2024-05-04 09:29:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:5:39: error: invalid use of member function ‘std::basic_ostream<_CharT, _Traits>* std::basic_ios<_CharT, _Traits>::tie(std::basic_ostream<_CharT, _Traits>*) [with _CharT = char; _Traits = std::char_traits<char>]’ (did you forget the ‘()’ ?)
5 | ios_base::sync_with_stdio(false);cin.tie.(0);
| ~~~~^~~
potatosalad.cpp:9:33: error: ‘arr’ cannot be used as a function
9 | for(int i=0;i<n;i++) cin>>arr(i);
| ^