Borderou de evaluare (job #3228005)
Utilizator | Data | 4 mai 2024 17:40:10 | |
---|---|---|---|
Problema | Euclid | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: stray '#' in program
1 | #include <bits/stdc++.h>
| ^
main.cpp:1:1: error: '\U0000feff' does not name a type
1 | #include <bits/stdc++.h>
|
main.cpp: In function 'void read(int&)':
main.cpp:6:28: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
6 | while (inBuffer[p] < 0x30 | inBuffer[p] > 0x39) {
| ~~~~~~~~~~~~^~~~~~
main.cpp:7:66: error: 'stdin' was not declared in this scope
7 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
| ^~~~~
main.cpp:1:1: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | #include <bits/stdc++.h>
main.cpp:7:36: error: 'fread' was not declared in this scope; did you mean 'read'?
7 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
| ^~~~~
| read
main.cpp:9:28: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
9 | while (inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) {
| ~~~~~~~~~~~~^~~~~~
main.cpp:11:66: error: 'stdin' was not declared in this scope
11 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
| ^~~~~
main.cpp:11:66: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
main.cpp:11:36: error: 'fread' was not declared in this scope; did you mean 'read'?
11 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
| ^~~~~
| read
main.cpp: In function 'void p(int, int, int)':
main.cpp:29:29: error: '__gcd' was not declared in this scope
29 | else t[j] = __gcd(t[j + 1], a[row][j]);
| ^~~~~
main.cpp:33:29: error: '__gcd' was not declared in this scope
33 | else t[j] = __gcd(t[j - 1], a[row][j]);
| ^~~~~
main.cpp:34:59: error: '__gcd' was not declared in this scope
34 | if (j - dc + 1 >= l) b[row][j - dc + 1] = __gcd(t[j], t[j - dc + 1]);
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:38:35: error: 'stdin' was not declared in this scope
38 | freopen("euclid.in", "r", stdin);
| ^~~~~
main.cpp:38:35: note: 'stdin' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
main.cpp:38:9: error: 'freopen' was not declared in this scope
38 | freopen("euclid.in", "r", stdin);
| ^~~~~~~
main.cpp:39:36: error: 'stdout' was not declared in this scope
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !