Borderou de evaluare (job #2734546)
Utilizator | Data | 1 aprilie 2021 08:25:35 | |
---|---|---|---|
Problema | Coduri Huffman | Status | done |
Runda | Arhiva educationala | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:13: error: stray '#' in program
int main() {#include<bits/stdc++.h>
^
main.cpp: In function 'int main()':
main.cpp:4:14: error: 'include' was not declared in this scope
int main() {#include<bits/stdc++.h>
^~~~~~~
main.cpp:4:22: error: 'bits' was not declared in this scope
int main() {#include<bits/stdc++.h>
^~~~
main.cpp:4:27: error: 'stdc' was not declared in this scope
int main() {#include<bits/stdc++.h>
^~~~
main.cpp:6:1: error: expected primary-expression before 'using'
using namespace std;
^~~~~
main.cpp:16:1: error: 'deque' was not declared in this scope
deque<pair<int,int> > q,q2;
^~~~~
main.cpp:16:21: error: expected primary-expression before '>' token
deque<pair<int,int> > q,q2;
^
main.cpp:16:23: error: 'q' was not declared in this scope
deque<pair<int,int> > q,q2;
^
main.cpp:16:25: error: 'q2' was not declared in this scope
deque<pair<int,int> > q,q2;
^~
main.cpp:28:1: error: a function-definition is not allowed here before '{' token
{
^
main.cpp:50:1: error: a function-definition is not allowed here before '{' token
{
^
main.cpp:20:21: warning: unused variable 'sol' [-Wunused-variable]
pair<int,long long> sol[maxN];
^~~
main.cpp:36:5: warning: unused variable 'g' [-Wunused-variable]
int g[maxN][2],n;
^
main.cpp:36:16: warning: unused variable 'n' [-Wunused-variable]
int g[maxN][2],n;
^
main.cpp:40:5: warning: unused variable 'frecv' [-Wunused-variable]
int frecv[maxN];
^~~~~
main.cpp:44:11: warning: unused variable 'ans' [-Wunused-variable]
long long ans=0;
^~~
main.cpp:345: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 !