Borderou de evaluare (job #2513524)
Utilizator | Data | 23 decembrie 2019 12:09:21 | |
---|---|---|---|
Problema | Secventa | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: stray '\177' in program
#include <bits/stdc++.h>
^
main.cpp:1:2: error: stray '#' in program
#include <bits/stdc++.h>
^
main.cpp:1:3: error: 'include' does not name a type
#include <bits/stdc++.h>
^~~~~~~
main.cpp:4:1: error: 'ifstream' does not name a type
ifstream f ("secventa.in");
^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
ofstream g ("secventa.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:8:5: error: 'deque' was not declared in this scope
deque <int> poz,val;
^~~~~
main.cpp:8:12: error: expected primary-expression before 'int'
deque <int> poz,val;
^~~
main.cpp:10:5: error: 'f' was not declared in this scope
f >> n >> k;
^
main.cpp:13:16: error: 'val' was not declared in this scope
while(!val.empty() and x<=val.front()) {
^~~
main.cpp:15:13: error: 'poz' was not declared in this scope
poz.pop_front();
^~~
main.cpp:17:9: error: 'val' was not declared in this scope
val.push_front(x);
^~~
main.cpp:18:9: error: 'poz' was not declared in this scope
poz.push_front(i);
^~~
main.cpp:28:5: error: 'g' was not declared in this scope
g << mxs-k+1 << " " << mxs << " " << mx;
^
main.cpp:9:27: warning: unused variable 'mxi' [-Wunused-variable]
int n,k,i,x,mx=-30001,mxi,mxs;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !