Borderou de evaluare (job #2370813)
Utilizator | Data | 6 martie 2019 13:50:06 | |
---|---|---|---|
Problema | Euclid | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void ComputeRMQ()':
main.cpp:54:13: error: '_gcd' is not a member of 'std'
#define GCD std::_gcd
^
main.cpp:75:30: note: in expansion of macro 'GCD'
LRMQ[j][k] = GCD(LRMQ[j-1][k], LRMQ[j-1][k + (1<<(j-1))]);
^~~
main.cpp:54:13: error: '_gcd' is not a member of 'std'
#define GCD std::_gcd
^
main.cpp:78:31: note: in expansion of macro 'GCD'
LineQuery[i][j] = GCD(LRMQ[K1][j], LRMQ[K1][j+W - (1<<K1)]);
^~~
main.cpp:54:13: error: '_gcd' is not a member of 'std'
#define GCD std::_gcd
^
main.cpp:87:30: note: in expansion of macro 'GCD'
CRMQ[j][k] = GCD(CRMQ[j-1][k], CRMQ[j-1][k + (1<<(j-1))]);
^~~
main.cpp:54:13: error: '_gcd' is not a member of 'std'
#define GCD std::_gcd
^
main.cpp:90:29: note: in expansion of macro 'GCD'
Surface[j][i] = GCD(CRMQ[K2][j], CRMQ[K2][j+H - (1<<K2)]);
^~~
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:13:29: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, 4096, fin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !