Borderou de evaluare (job #2786252)
Utilizator | Data | 20 octombrie 2021 16:33:14 | |
---|---|---|---|
Problema | Cerere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:17:20: error: 'void S(int)' redeclared as different kind of entity
17 | inline void S(int x)
| ^
main.cpp:9:22: note: previous declaration 'int S [100005]'
9 | int N,d[M],s[M],D[M],S[M],t,o,i,a,b,k;
| ^
main.cpp:24:8: error: ISO C++ forbids declaration of 'F' with no type [-fpermissive]
24 | inline F(int k)
| ^
main.cpp: In function 'int F(int)':
main.cpp:32:1: warning: no return statement in function returning non-void [-Wreturn-type]
32 | }
| ^
main.cpp: In function 'int main()':
main.cpp:41:15: error: 'S' cannot be used as a function
41 | S(D[i]);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !