Borderou de evaluare (job #1691907)
Utilizator | Data | 19 aprilie 2016 18:57:11 | |
---|---|---|---|
Problema | Bifo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:9: error: expected unqualified-id before ‘__int128’
typedef __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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !