Borderou de evaluare (job #2657605)
Utilizator | Data | 11 octombrie 2020 11:25:45 | |
---|---|---|---|
Problema | Trenuri3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^~~~~~~
main.cpp:7:1: error: 'ifstream' does not name a type
ifstream fin("trenuri3.in");
^~~~~~~~
main.cpp:9:1: error: 'ofstream' does not name a type
ofstream fout("trenuri3.out");
^~~~~~~~
main.cpp:49:1: error: 'set' does not name a type
set<pair<int, int> > train;
^~~
main.cpp: In function 'int main()':
main.cpp:59:5: error: 'fin' was not declared in this scope
fin >> n >> m;
^~~
main.cpp:65:9: error: 'fout' was not declared in this scope
fout << 0;
^~~~
main.cpp:87:39: error: 'sort' was not declared in this scope
sort(pepl + 1, pepl + m + 1, byPos);
^
main.cpp:97:9: error: 'train' was not declared in this scope
train.insert({pepl[i].second, i});
^~~~~
main.cpp:103:9: error: 'set' was not declared in this scope
set<pair<int, int> >::iterator it = train.begin();
^~~
main.cpp:103:13: error: 'pair' was not declared in this scope
set<pair<int, int> >::iterator it = train.begin();
^~~~
main.cpp:103:18: error: expected primary-expression before 'int'
set<pair<int, int> >::iterator it = train.begin();
^~~
main.cpp:107:17: error: 'it' was not declared in this scope
while((*it).first <= pepl[i].first){
^~
main.cpp:129:13: error: 'it' was not declared in this scope
it = train.end();
^~
main.cpp:141:17: error: 'train' was not declared in this scope
for(auto it:train){
^~~~~
main.cpp:161:5: error: 'fout' was not declared in this scope
fout << total << "\n";
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !