Borderou de evaluare (job #2078844)
Utilizator | Data | 30 noiembrie 2017 02:36:11 | |
---|---|---|---|
Problema | Parola | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:7: error: ‘ll’ does not name a type
const ll NMax = 1000003;
^
user.cpp:9:1: error: ‘ll’ does not name a type
ll n,k,t;
^
user.cpp:10:8: error: ‘NMax’ was not declared in this scope
char x[NMax];
^
user.cpp:11:1: error: ‘ll’ does not name a type
ll pref[NMax];
^
user.cpp:12:5: error: ‘ll’ was not declared in this scope
map<ll,ll> mp;
^
user.cpp:12:8: error: ‘ll’ was not declared in this scope
map<ll,ll> mp;
^
user.cpp:12:10: error: template argument 1 is invalid
map<ll,ll> mp;
^
user.cpp:12:10: error: template argument 2 is invalid
user.cpp:12:10: error: template argument 3 is invalid
user.cpp:12:10: error: template argument 4 is invalid
user.cpp:12:14: error: invalid type in declaration before ‘;’ token
map<ll,ll> mp;
^
user.cpp: In function ‘void test()’:
user.cpp:15:8: error: request for member ‘clear’ in ‘mp’, which is of non-class type ‘int’
mp.clear();
^
user.cpp:16:10: error: ‘n’ was not declared in this scope
f >> n >> k;f.get();
^
user.cpp:16:15: error: ‘k’ was not declared in this scope
f >> n >> k;f.get();
^
user.cpp:18:15: error: ‘x’ was not declared in this scope
f.getline(x,NMax);
^
user.cpp:18:17: error: ‘NMax’ was not declared in this scope
f.getline(x,NMax);
^
user.cpp:19:5: error: ‘ll’ was not declared in this scope
ll l = strlen(x);
^
user.cpp:19:8: error: expected ‘;’ before ‘l’
ll l = strlen(x);
^
user.cpp:21:9: error: invalid types ‘int[int]’ for array subscript
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !