Borderou de evaluare (job #1767362)
Utilizator | Data | 28 septembrie 2016 22:32:04 | |
---|---|---|---|
Problema | SequenceQuery | 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:108:8: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’
Read(N);
^
user.cpp:42:13: error: in passing argument 1 of ‘void Read(long long int&)’
inline void Read(long long &nr)
^
user.cpp:109:8: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’
Read(M);
^
user.cpp:42:13: error: in passing argument 1 of ‘void Read(long long int&)’
inline void Read(long long &nr)
^
user.cpp:111:11: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’
Read(v[i]);
^
user.cpp:42:13: error: in passing argument 1 of ‘void Read(long long int&)’
inline void Read(long long &nr)
^
user.cpp:117:13: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’
Read(Start),Read(End);
^
user.cpp:42:13: error: in passing argument 1 of ‘void Read(long long int&)’
inline void Read(long long &nr)
^
user.cpp:117:23: error: invalid initialization of reference of type ‘long long int&’ from expression of type ‘int’
Read(Start),Read(End);
^
user.cpp:42:13: error: in passing argument 1 of ‘void Read(long long int&)’
inline void Read(long long &nr)
^
user.cpp:107:19: 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,IN);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !