Borderou de evaluare (job #2467406)
Utilizator | Data | 4 octombrie 2019 11:37:43 | |
---|---|---|---|
Problema | PScPld | 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:21:1: error: expected primary-expression before 'using'
using namespace std;
^~~~~
main.cpp:21:1: error: expected ']' before 'using'
main.cpp:21:1: error: expected ')' before 'using'
main.cpp:28:1: error: a function-definition is not allowed here before '{' token
{
^
main.cpp:58:1: error: expected '}' at end of input
}
^
main.cpp:23:11: warning: unused variable 'n' [-Wunused-variable]
long long n,f[2000005],l=0,rez=-1,k;
^
main.cpp:23:13: warning: unused variable 'f' [-Wunused-variable]
long long n,f[2000005],l=0,rez=-1,k;
^
main.cpp:23:24: warning: unused variable 'l' [-Wunused-variable]
long long n,f[2000005],l=0,rez=-1,k;
^
main.cpp:23:28: warning: unused variable 'rez' [-Wunused-variable]
long long n,f[2000005],l=0,rez=-1,k;
^~~
main.cpp:23:35: warning: unused variable 'k' [-Wunused-variable]
long long n,f[2000005],l=0,rez=-1,k;
^
main.cpp:24:6: warning: unused variable 'a' [-Wunused-variable]
char a[1000005];
^
main.cpp:58:1: error: expected '}' at end of input
}
^
main.cpp:58:1: error: expected '}' at end of input
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !