Borderou de evaluare (job #3228000)
Utilizator | Data | 4 mai 2024 17:35:04 | |
---|---|---|---|
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 read(int&)':
main.cpp:7:28: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
7 | while (inBuffer[p] < 0x30 | inBuffer[p] > 0x39) {
| ~~~~~~~~~~~~^~~~~~
main.cpp:8:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
8 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
| ~~^~~~~
main.cpp:10:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
10 | while (inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) {
| ~~~~~~~~~~~~^~~~~~
main.cpp:12:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
12 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
| ~~^~~~~
main.cpp: In function 'void compute(int, int, int)':
main.cpp:41:35: error: '__gcd' was not declared in this scope; did you mean '__gid_t'?
41 | temp[j] = __gcd(temp[j + 1], a[row][j]);
| ^~~~~
| __gid_t
main.cpp:49:35: error: '__gcd' was not declared in this scope; did you mean '__gid_t'?
49 | temp[j] = __gcd(temp[j - 1], a[row][j]);
| ^~~~~
| __gid_t
main.cpp:53:46: error: '__gcd' was not declared in this scope; did you mean '__gid_t'?
53 | b[row][j - dc + 1] = __gcd(temp[j], temp[j - dc + 1]);
| ^~~~~
| __gid_t
main.cpp: At global scope:
main.cpp:4:37: warning: 'always_inline' function might not be inlinable [-Wattributes]
4 | __attribute__((always_inline)) void read(int& num) {
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !