Borderou de evaluare (job #1753497)

Utilizator alittlezzCazaciuc Valentin alittlezz Data 6 septembrie 2016 16:52:39
Problema Secv10 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:104:2: error: stray ‘#’ in program }#include <fstream> ^ user.cpp:207:2: error: stray ‘#’ in program }#include <fstream> ^ user.cpp: In function ‘int main()’: user.cpp:85:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] fin>>s+1; ^ user.cpp:87:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] fin>>sf+1; ^ user.cpp:89:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses] fin>>pf+1; ^ user.cpp: At global scope: user.cpp:104:3: error: ‘include’ does not name a type }#include <fstream> ^ user.cpp:110:5: error: redefinition of ‘int n’ int n,st,dr; ^ user.cpp:7:5: error: ‘int n’ previously declared here int n,st,dr; ^ user.cpp:110:7: error: redefinition of ‘int st’ int n,st,dr; ^ user.cpp:7:7: error: ‘int st’ previously declared here int n,st,dr; ^ user.cpp:110:10: error: redefinition of ‘int dr’ int n,st,dr; ^ user.cpp:7:10: error: ‘int dr’ previously declared here int n,st,dr; ^ user.cpp:111:20: error: redefinition of ‘long long unsigned int ans’ long long unsigned ans; ^ user.cpp:8:20: error: ‘long long unsigned int ans’ previously declared here long long unsigned ans; ^ user.cpp:112:14: error: redefinition of ‘char s [100005]’ char s[100005], sf[100005], pf[100005]; ^ user.cpp:9:6: error: ‘char s [100005]’ previously declared here char s[100005], sf[100005], pf[100005]; ^

Ceva nu functioneaza?