Borderou de evaluare (job #2094135)

Utilizator inquisitorAnders inquisitor Data 25 decembrie 2017 09:53:35
Problema Expr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:5: error: stray ‘#’ in program expr#include<bits/stdc++.h> ^ user.cpp:1:1: error: ‘expr’ does not name a type expr#include<bits/stdc++.h> ^ user.cpp:9:1: error: ‘set’ does not name a type set<int> s; vector<int> v; ^ user.cpp:9:13: error: ‘vector’ does not name a type set<int> s; vector<int> v; ^ user.cpp:11:1: error: ‘bitset’ does not name a type bitset<8192> Evaluate(), GetTerm(), ReadSet(), answer; ^ user.cpp: In function ‘int main()’: user.cpp:15:29: error: ‘stdin’ was not declared in this scope freopen("expr.in", "r", stdin); ^ user.cpp:15:34: error: ‘freopen’ was not declared in this scope freopen("expr.in", "r", stdin); ^ user.cpp:17:27: error: ‘scanf’ was not declared in this scope scanf("%s", expression); ^ user.cpp:20:30: error: ‘stdout’ was not declared in this scope freopen("expr.out", "w", stdout); ^ user.cpp:22:16: error: ‘cin’ was not declared in this scope for(int i; cin >> i; s.insert(i)); ^ user.cpp:22:26: error: ‘s’ was not declared in this scope for(int i; cin >> i; s.insert(i)); ^ user.cpp:24:17: error: ‘s’ was not declared in this scope for(int i : s){ v.push_back(i); } ^ user.cpp:24:21: error: ‘v’ was not declared in this scope for(int i : s){ v.push_back(i); } ^ user.cpp:26:5: error: ‘answer’ was not declared in this scope answer = Evaluate(); ^ user.cpp:26:23: error: ‘Evaluate’ was not declared in this scope answer = Evaluate(); ^ user.cpp:28:31: error: ‘printf’ was not declared in this scope for(int i = 1 - printf("{"), j = 0, k = answer.count(); j < k; i++) ^ user.cpp:28:61: error: ‘j’ was not declared in this scope

Ceva nu functioneaza?