Borderou de evaluare (job #3261059)
Utilizator | Data | 4 decembrie 2024 11:22:07 | |
---|---|---|---|
Problema | Zoo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:26:11: error: too few arguments to function 'void* memset(void*, int, size_t)'
26 | memset(l )
| ~~~~~~^~~~
In file included from /usr/include/c++/12.2.1/cstring:42,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:48,
from main.cpp:1:
/usr/include/string.h:61:14: note: declared here
61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
| ^~~~~~
main.cpp:56:14: error: 'cb' was not declared in this scope; did you mean 'c'?
56 | x1 = cb(l, n, x1, 1);
| ^~
| c
main.cpp:58:23: error: expected primary-expression before ')' token
58 | y1 = cb(c, n, )
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !