Borderou de evaluare (job #2204241)

Utilizator b10nd3Oana Mancu b10nd3 Data 15 mai 2018 01:58:01
Problema Taste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:1: warning: "/*" within comment [-Wcomment] /* user.cpp:96:1: warning: "/*" within comment [-Wcomment] /* user.cpp: In function ‘long long int search(long long int, long long int, long long int, long long int, long long int)’: user.cpp:129:22: error: ‘rez’ was not declared in this scope if(rez2!=c || rez>y || (rez>=x && rez<=y)) right=mid-1; ^~~ user.cpp: In function ‘int main()’: user.cpp:137:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.in","r",stdin); ^ user.cpp:138:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.out","w",stdout); ^ user.cpp:140:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&A,&B); ^

Ceva nu functioneaza?