Borderou de evaluare (job #1674043)

Utilizator pusi23Faier Andreea pusi23 Data 4 aprilie 2016 12:31:51
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:25:6: error: stray ‘#’ in program }#include<iostream> ^ user.cpp:97:20: error: stray ‘#’ in program if(a[i]#include<iostream> ^ user.cpp: In function ‘int f(int, int)’: user.cpp:25:7: error: ‘include’ was not declared in this scope }#include<iostream> ^ user.cpp:25:23: error: expected primary-expression before ‘>’ token }#include<iostream> ^ user.cpp:27:1: error: expected primary-expression before ‘using’ using namespace std; ^ user.cpp:27:1: error: expected ‘;’ before ‘using’ user.cpp:31:1: error: a function-definition is not allowed here before ‘{’ token { ^ user.cpp:11:9: warning: unused variable ‘v1’ [-Wunused-variable] int v1,v2,w,c=0,i; ^ user.cpp:11:12: warning: unused variable ‘v2’ [-Wunused-variable] int v1,v2,w,c=0,i; ^ user.cpp:11:15: warning: unused variable ‘w’ [-Wunused-variable] int v1,v2,w,c=0,i; ^ user.cpp:28:6: warning: unused variable ‘a’ [-Wunused-variable] char a[10000]; ^ user.cpp:29:5: warning: unused variable ‘n’ [-Wunused-variable] int n; ^ user.cpp:187:1: error: expected ‘}’ at end of input } ^ user.cpp:187:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?