Borderou de evaluare (job #2646005)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 30 august 2020 14:08:44
Problema Radiatie 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:5:1: error: 'ifstream' does not name a type ifstream f("radiatie.in"); ^~~~~~~~ main.cpp:6:1: error: 'ofstream' does not name a type ofstream g("radiatie.out"); ^~~~~~~~ main.cpp:9:1: error: 'pair' does not name a type pair<int,pair<int,int> > PP[30010]; ^~~~ main.cpp:10:1: error: 'vector' does not name a type vector<pair<int,int> > v[15010]; ^~~~~~ main.cpp: In function 'void dfs(int)': main.cpp:29:67: error: 'max' was not declared in this scope gtmax[i][poz]=max(gtmax[i-1][poz],gtmax[i-1][st[i-1][poz]]); ^ main.cpp:31:17: error: 'v' was not declared in this scope for(auto it:v[poz]) ^ main.cpp: At global scope: main.cpp:40:1: error: 'pair' does not name a type pair<int,int> movup(int nod,int dst) ^~~~ main.cpp: In function 'int main()': main.cpp:54:5: error: 'f' was not declared in this scope f>>n>>m>>k; ^ main.cpp:57:12: error: 'PP' was not declared in this scope f>>PP[i].second.first>>PP[i].second.second>>PP[i].first; ^~ main.cpp:58:10: error: 'PP' was not declared in this scope sort(PP+1,PP+m+1); ^~ main.cpp:58:21: error: 'sort' was not declared in this scope sort(PP+1,PP+m+1); ^ main.cpp:69:13: error: 'v' was not declared in this scope v[a].push_back({b,c}); ^ main.cpp:92:21: error: 'swap' was not declared in this scope swap(a,b); ^ main.cpp:93:9: error: 'pair' was not declared in this scope pair<int,int> x=movup(a,depth[a]-depth[b]); ^~~~ main.cpp:93:14: error: expected primary-expression before 'int' pair<int,int> x=movup(a,depth[a]-depth[b]); Non zero exit status: 1

Ceva nu functioneaza?