Borderou de evaluare (job #1592732)
Utilizator | Data | 7 februarie 2016 21:36:09 | |
---|---|---|---|
Problema | RangeMode | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<Q[i].size();++j)
^
user.cpp:50:33: error: expected primary-expression before ‘)’ token
if(ap[a[r]]>)
^
user.cpp:53:16: error: expected primary-expression before ‘}’ token
}
^
user.cpp:53:16: error: expected ‘;’ before ‘}’ token
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rangemode.in","r",stdin);
^
user.cpp:23:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rangemode.out","w",stdout);
^
user.cpp:25:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:27:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d",&a[i]);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !