Borderou de evaluare (job #1738294)
Utilizator | Data | 6 august 2016 13:35:30 | |
---|---|---|---|
Problema | Hotel | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Add(int, int, int, int, bool, bool)’:
user.cpp:60:18: error: too few arguments to function ‘void Add(int, int, int, int, bool, bool)’
Add(A,B,2*pos,1),m1=true;
^
user.cpp:51:6: note: declared here
void Add(int A,int B,int pos,int mid,bool m1,bool m2)
^
user.cpp:62:20: error: too few arguments to function ‘void Add(int, int, int, int, bool, bool)’
Add(A,B,2*pos+1,1),m2=true;
^
user.cpp:51:6: note: declared here
void Add(int A,int B,int pos,int mid,bool m1,bool m2)
^
user.cpp: In function ‘void Remove(int, int, int, int, bool, bool)’:
user.cpp:77:21: error: too few arguments to function ‘void Remove(int, int, int, int, bool, bool)’
Remove(A,B,2*pos,1);
^
user.cpp:68:6: note: declared here
void Remove(int A,int B,int pos,int mid,bool m1,bool m2)
^
user.cpp:79:23: error: too few arguments to function ‘void Remove(int, int, int, int, bool, bool)’
Remove(A,B,2*pos+1,1);
^
user.cpp:68:6: note: declared here
void Remove(int A,int B,int pos,int mid,bool m1,bool m2)
^
user.cpp: In function ‘int main()’:
user.cpp:97:22: error: too few arguments to function ‘void Add(int, int, int, int, bool, bool)’
Add(V1,V1+V2-1,1,1);
^
user.cpp:51:6: note: declared here
void Add(int A,int B,int pos,int mid,bool m1,bool m2)
^
user.cpp:102:25: error: too few arguments to function ‘void Remove(int, int, int, int, bool, bool)’
Remove(V1,V1+V2-1,1,1);
^
user.cpp:68:6: note: declared here
void Remove(int A,int B,int pos,int mid,bool m1,bool m2)
^
user.cpp: In function ‘void r(int&)’:
user.cpp:23:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(f,1,MAX,stdin),p=0;
^
user.cpp:29:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(f,1,MAX,stdin),p=0;
^
user.cpp: In function ‘int main()’:
user.cpp:84:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hotel.in","r",stdin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !