Borderou de evaluare (job #2204245)
Utilizator | Data | 15 mai 2018 02:06:53 | |
---|---|---|---|
Problema | Taste | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: warning: "/*" within comment [-Wcomment]
/*
user.cpp:96:1: warning: "/*" within comment [-Wcomment]
/*
user.cpp: In function ‘int main()’:
user.cpp:199:45: error: too many arguments to function ‘long long int search(long long int, long long int, long long int)’
long long x = search(doi,1,ptmax,A,B);
^
user.cpp:136:11: note: declared here
long long search(long long doi, long long li,long long lf)
^~~~~~
user.cpp:167:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.in","r",stdin);
^
user.cpp:168:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.out","w",stdout);
^
user.cpp:170:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&A,&B);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !