Borderou de evaluare (job #813247)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ocr (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 mar. 2025 15:05:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:34:11: error: stray '#' in program
34 | minim=#include<bits/stdc++.h>
| ^
main.cpp: In function 'int main()':
main.cpp:34:12: error: 'include' was not declared in this scope
34 | minim=#include<bits/stdc++.h>
| ^~~~~~~
main.cpp:34:20: error: 'bits' was not declared in this scope
34 | minim=#include<bits/stdc++.h>
| ^~~~
main.cpp:34:25: error: 'stdc' was not declared in this scope; did you mean 'std'?
34 | minim=#include<bits/stdc++.h>
| ^~~~
| std
main.cpp:35:1: error: expected primary-expression before 'using'
35 | using namespace std;
| ^~~~~
main.cpp:40:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
40 | int main(){
| ^~
main.cpp:40:9: note: remove parentheses to default-initialize a variable
40 | int main(){
| ^~
| --
main.cpp:40:9: note: or replace parentheses with braces to value-initialize a variable
main.cpp:40:11: error: a function-definition is not allowed here before '{' token
40 | int main(){
| ^
main.cpp:39:8: warning: unused variable 'a' [-Wunused-variable]
39 | double a[51][51],lin[51],col[51],sp1[51],sp2[51];
| ^
main.cpp:39:18: warning: unused variable 'lin' [-Wunused-variable]
39 | double a[51][51],lin[51],col[51],sp1[51],sp2[51];
| ^~~
main.cpp:39:26: warning: unused variable 'col' [-Wunused-variable]
39 | double a[51][51],lin[51],col[51],sp1[51],sp2[51];
| ^~~
main.cpp:39:34: warning: unused variable 'sp1' [-Wunused-variable]
39 | double a[51][51],lin[51],col[51],sp1[51],sp2[51];
| ^~~