Borderou de evaluare (job #1492941)
Utilizator | Data | 28 septembrie 2015 14:32:50 | |
---|---|---|---|
Problema | Ciuperci | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:1: error: ‘unordered_map’ does not name a type
unordered_map < long long, int > v;
^
user.cpp: In function ‘int calc(long long int)’:
user.cpp:24:5: error: ‘v’ was not declared in this scope
if(v[n])
^
user.cpp:33:3: error: ‘v’ was not declared in this scope
v[n]=sol;
^
user.cpp:39:2: error: ‘v’ was not declared in this scope
v[n]=sol;
^
user.cpp: In function ‘int main()’:
user.cpp:70:3: error: ‘v’ was not declared in this scope
v.clear();
^
user.cpp: In function ‘void citeste(long long int&)’:
user.cpp:47:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin);
^
user.cpp:54:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:64:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciuperci.in","r",stdin);
^
user.cpp:65:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciuperci.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !