Borderou de evaluare (job #2334051)
Utilizator | Data | 2 februarie 2019 10:45:38 | |
---|---|---|---|
Problema | Bcrc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:19: error: 'y' does not name a type
ll n,m,t,c,b,t0,o;y
^
main.cpp: In function 'void dq(long long int)':
main.cpp:17:17: error: 'd' was not declared in this scope
while (!d.empty()&&a1[i]>a1[d.back()]) d.pop_back();
^
main.cpp:18:9: error: 'd' was not declared in this scope
d.push_back(i);
^
main.cpp:21:17: error: 'd' was not declared in this scope
while (!d.empty()&&a1[i]>a1[d.back()]) d.pop_back();
^
main.cpp:22:9: error: 'd' was not declared in this scope
d.push_back(i);
^
main.cpp:31:5: error: 'd' was not declared in this scope
d.clear();
^
main.cpp: In function 'int main()':
main.cpp:36:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bcrc.in","r",stdin);
^
main.cpp:37:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bcrc.out","w",stdout);
^
main.cpp:41:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&m);
^
main.cpp:45:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&t,&c,&b);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !