Borderou de evaluare (job #2598679)
Utilizator | Data | 11 aprilie 2020 13:07:53 | |
---|---|---|---|
Problema | Foametea | Status | done |
Runda | Fmi No Stress 9 | 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:13:1: error: 'vector' does not name a type
vector<Drum>g[N];
^~~~~~
main.cpp: In function 'int main()':
main.cpp:20:33: error: 'stdin' was not declared in this scope
freopen("foametea.in", "r", stdin);
^~~~~
main.cpp:20:38: error: 'freopen' was not declared in this scope
freopen("foametea.in", "r", stdin);
^
main.cpp:21:34: error: 'stdout' was not declared in this scope
freopen("foametea.out", "w", stdout);
^~~~~~
main.cpp:23:5: error: 'cin' was not declared in this scope
cin>>n>>m>>k;
^~~
main.cpp:31:9: error: 'g' was not declared in this scope
g[a].push_back(Drum{b, l, c});
^
main.cpp:38:29: error: 'min' was not declared in this scope
gain[1] = min(gain[1], k);
^
main.cpp:39:5: error: 'queue' was not declared in this scope
queue<pair<int,int>>q;
^~~~~
main.cpp:39:11: error: 'pair' was not declared in this scope
queue<pair<int,int>>q;
^~~~
main.cpp:39:16: error: expected primary-expression before 'int'
queue<pair<int,int>>q;
^~~
main.cpp:44:9: error: 'q' was not declared in this scope
q.push(make_pair(1,i));
^
main.cpp:44:29: error: 'make_pair' was not declared in this scope
q.push(make_pair(1,i));
^
main.cpp:47:12: error: 'q' was not declared in this scope
while(!q.empty())
^
main.cpp:50:18: error: 'tie' was not declared in this scope
tie(x, am) = q.front();
^
main.cpp:53:23: error: 'g' was not declared in this scope
for(auto it : g[x])
^
main.cpp:75:55: error: 'make_pair' was not declared in this scope
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !