Problem | motest2 |
---|---|
User | P55D2K |
Submission Time | 2023-05-07 12:42:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
motest2.cpp: In function ‘int main()’:
motest2.cpp:9:35: error: no matching function for call to ‘getline(std::istream&, long long int&)’
9 | while(T--) { getline(cin, temp); cout << 0 << endl; }
| ^
In file included from /usr/include/stdio.h:864,
from /usr/include/c++/9/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:46,
from motest2.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio.h:118:1: note: candidate: ‘__ssize_t getline(char**, size_t*, FILE*)’
118 | getline (char **__lineptr, size_t *__n, FILE *__stream)
| ^~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio.h:118:1: note: candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/9/string:56,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,