Borderou de evaluare (job #1845848)
Utilizator | Data | 11 ianuarie 2017 22:01:25 | |
---|---|---|---|
Problema | Triunghi5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:1: error: ‘LL’ does not name a type
LL n, v[NMAX], k, p, p1, p2, ct, sol[NMAX*5], it;
^
user.cpp:13:9: error: ‘LL’ was not declared in this scope
vector <LL> extra;
^
user.cpp:13:11: error: template argument 1 is invalid
vector <LL> extra;
^
user.cpp:13:11: error: template argument 2 is invalid
user.cpp:13:18: error: invalid type in declaration before ‘;’ token
vector <LL> extra;
^
user.cpp: In function ‘int main()’:
user.cpp:19:30: error: ‘p’ was not declared in this scope
scanf("%lld %lld %lld", &p, &n, &k);
^
user.cpp:19:34: error: ‘n’ was not declared in this scope
scanf("%lld %lld %lld", &p, &n, &k);
^
user.cpp:19:38: error: ‘k’ was not declared in this scope
scanf("%lld %lld %lld", &p, &n, &k);
^
user.cpp:20:47: error: ‘v’ was not declared in this scope
for(int i = 1; i<= n; ++i) scanf("%lld", &v[i]);
^
user.cpp:21:5: error: ‘v’ was not declared in this scope
v[n+1] = inf;
^
user.cpp:8:28: warning: integer overflow in expression [-Woverflow]
#define inf (2000000000 + 7)
^
user.cpp:22:18: note: in expansion of macro ‘inf’
v[n+2] = 2 * inf;
^
user.cpp:27:9: error: ‘p1’ was not declared in this scope
p1 = v[1]; p2 = v[1];
^
user.cpp:27:20: error: ‘p2’ was not declared in this scope
p1 = v[1]; p2 = v[1];
^
user.cpp:30:13: error: ‘LL’ was not declared in this scope
LL aux = p1+p2;
^
user.cpp:30:16: error: expected ‘;’ before ‘aux’
LL aux = p1+p2;
^
user.cpp:31:29: error: ‘aux’ was not declared in this scope
printf("%lld ", aux);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !