Borderou de evaluare (job #972798)

Utilizator CosminRusuCosmin Rusu CosminRusu Data 12 iulie 2013 18:09:18
Problema Egal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:53:27: error: stray ‘#’ in program ifstream f("egal.in");#include <iostream> ^ user.cpp: In function ‘bool cmp(const int&, const int&)’: user.cpp:17:12: error: ‘nrf’ was not declared in this scope return nrf[a]>nrf[b]; ^ user.cpp: In function ‘int main()’: user.cpp:53:28: error: ‘include’ was not declared in this scope ifstream f("egal.in");#include <iostream> ^ user.cpp:53:45: error: expected primary-expression before ‘>’ token ifstream f("egal.in");#include <iostream> ^ user.cpp:59:1: error: expected primary-expression before ‘using’ using namespace std; ^ user.cpp:59:1: error: expected ‘;’ before ‘using’ user.cpp:68:37: error: a function-definition is not allowed here before ‘{’ token bool cmp(const int &a,const int &b) { ^ user.cpp:72:17: error: a function-definition is not allowed here before ‘{’ token void dfs(int s) { ^ user.cpp:64:25: warning: unused variable ‘hs’ [-Wunused-variable] unordered_map<int, int> hs[DN]; ^ user.cpp:65:5: warning: unused variable ‘n’ [-Wunused-variable] int n,k,nrf[DN],poz[DN],r[DN],cont[DN],c[DN]; ^ user.cpp:65:7: warning: unused variable ‘k’ [-Wunused-variable] int n,k,nrf[DN],poz[DN],r[DN],cont[DN],c[DN]; ^ user.cpp:65:9: warning: unused variable ‘nrf’ [-Wunused-variable] int n,k,nrf[DN],poz[DN],r[DN],cont[DN],c[DN]; ^ user.cpp:65:17: warning: unused variable ‘poz’ [-Wunused-variable] int n,k,nrf[DN],poz[DN],r[DN],cont[DN],c[DN]; ^ user.cpp:65:25: warning: unused variable ‘r’ [-Wunused-variable] int n,k,nrf[DN],poz[DN],r[DN],cont[DN],c[DN]; ^ user.cpp:65:31: warning: unused variable ‘cont’ [-Wunused-variable] int n,k,nrf[DN],poz[DN],r[DN],cont[DN],c[DN]; ^ user.cpp:65:40: warning: unused variable ‘c’ [-Wunused-variable] int n,k,nrf[DN],poz[DN],r[DN],cont[DN],c[DN]; ^ user.cpp:66:13: warning: unused variable ‘gi’ [-Wunused-variable] vector<int> gi[DN],gf[DN];

Ceva nu functioneaza?