Borderou de evaluare (job #1691906)

Utilizator tziplea_stefanTiplea Stefan tziplea_stefan Data 19 aprilie 2016 18:56:19
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:18: error: expected unqualified-id before ‘__int128’ typedef unsigned __int128 ll; ^ user.cpp:11:1: error: ‘ll’ does not name a type ll N[VAL], fb; ^ user.cpp:12:1: error: ‘ll’ does not name a type ll v[VAL], mx; ^ user.cpp:13:1: error: ‘ll’ does not name a type ll x, y, z; ^ user.cpp: In function ‘int main()’: user.cpp:28:24: error: ‘N’ was not declared in this scope scanf("%lld", &N[i]); ^ user.cpp:29:9: error: ‘mx’ was not declared in this scope mx=max(mx, N[i]); ^ user.cpp:31:5: error: ‘x’ was not declared in this scope x=a.size(); ^ user.cpp:32:5: error: ‘y’ was not declared in this scope y=b.size(); ^ user.cpp:33:5: error: ‘v’ was not declared in this scope v[1]=x; ^ user.cpp:36:5: error: ‘z’ was not declared in this scope z=x+y; ^ user.cpp:37:14: error: ‘mx’ was not declared in this scope while (z<mx) ^ user.cpp:40:9: error: ‘fb’ was not declared in this scope fb=x+y; ^ user.cpp:49:16: error: ‘N’ was not declared in this scope while (N[i]>v[1]+v[2]) ^ user.cpp:57:26: error: ‘N’ was not declared in this scope printf("%c", sir[N[i]-1]); ^ user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bifo.in", "r", stdin); ^ user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bifo.out", "w", stdout); ^ user.cpp:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]

Ceva nu functioneaza?