Borderou de evaluare (job #2002706)

Utilizator GavrilaVladGavrila Vlad GavrilaVlad Data 20 iulie 2017 17:02:02
Problema H Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:40:1: error: stray ‘\302’ in program   ^ user.cpp:40:1: error: stray ‘\240’ in program user.cpp:53:1: error: stray ‘\302’ in program   ^ user.cpp:53:1: error: stray ‘\240’ in program user.cpp:76:3: error: stray ‘\302’ in program y[++y[0]]=v[i].ys;   ^ user.cpp:76:3: error: stray ‘\240’ in program user.cpp:84:2: error: stray ‘\302’ in program k=yn[0];   ^ user.cpp:84:2: error: stray ‘\240’ in program user.cpp:84:2: error: stray ‘\302’ in program user.cpp:84:2: error: stray ‘\240’ in program user.cpp:100:3: error: stray ‘\302’ in program   ^ user.cpp:100:3: error: stray ‘\240’ in program user.cpp:104:3: error: stray ‘\302’ in program   ^ user.cpp:104:3: error: stray ‘\240’ in program user.cpp:108:3: error: stray ‘\302’ in program   ^ user.cpp:108:3: error: stray ‘\240’ in program user.cpp:16:38: error: ‘long int yn [198000]’ redeclared as different kind of symbol long n, i, j, k, y[3*maxn], yn[3*maxn], aux, sol; ^ In file included from /usr/include/features.h:357:0, from /usr/include/stdio.h:28, from user.cpp:1: /usr/include/i386-linux-gnu/bits/mathcalls.h:244:1: error: previous declaration of ‘double yn(int, double)’ __MATHCALL (yn,, (int, _Mdouble_)); ^ user.cpp: In function ‘long int bin(long int)’: user.cpp:57:20: warning: pointer to a function used in arithmetic [-Wpointer-arith] left=1; right=yn[0]; ^ user.cpp:57:15: error: invalid conversion from ‘double (*)(int, double)throw ()’ to ‘long int’ [-fpermissive] left=1; right=yn[0]; ^ user.cpp:61:12: warning: pointer to a function used in arithmetic [-Wpointer-arith] if(yn[med]==search) return med; ^ user.cpp:61:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

Ceva nu functioneaza?