Borderou de evaluare (job #2026413)
Utilizator | Data | 24 septembrie 2017 13:40:59 | |
---|---|---|---|
Problema | Subsecvente2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:1: error: ‘unordered_map’ does not name a type
unordered_map< long long , int > mp1;
^
user.cpp: In function ‘bool check(long long int)’:
user.cpp:26:5: error: ‘mp1’ was not declared in this scope
mp1.clear();
^
user.cpp:40:14: warning: statement has no effect [-Wunused-value]
for(j;j<=lng[i];++j)
^
user.cpp: In function ‘int main()’:
user.cpp:63:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,step;
^
user.cpp:60:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.in","r",stdin);
^
user.cpp:61:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsecvente2.out","w",stdout);
^
user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:68:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]+1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !