Borderou de evaluare (job #2012464)
Utilizator | Data | 18 august 2017 20:51:55 | |
---|---|---|---|
Problema | Spirala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:24:65: error: stray ‘#’ in program
if (a[i] > curr) rs += (a[i] - curr), curr += (a[i] #include <bits/stdc++.h>
^
user.cpp: In function ‘int main()’:
user.cpp:24:66: error: expected ‘)’ before ‘include’
if (a[i] > curr) rs += (a[i] - curr), curr += (a[i] #include <bits/stdc++.h>
^
user.cpp:43:11: error: a function-definition is not allowed here before ‘{’ token
int main(){
^
user.cpp:73:1: error: expected ‘}’ at end of input
}
^
user.cpp:35:5: warning: unused variable ‘n’ [-Wunused-variable]
int n, m, a[105][105], u, d, l, r;
^
user.cpp:35:8: warning: unused variable ‘m’ [-Wunused-variable]
int n, m, a[105][105], u, d, l, r;
^
user.cpp:35:11: warning: unused variable ‘a’ [-Wunused-variable]
int n, m, a[105][105], u, d, l, r;
^
user.cpp:35:24: warning: unused variable ‘u’ [-Wunused-variable]
int n, m, a[105][105], u, d, l, r;
^
user.cpp:35:27: warning: unused variable ‘d’ [-Wunused-variable]
int n, m, a[105][105], u, d, l, r;
^
user.cpp:35:30: warning: unused variable ‘l’ [-Wunused-variable]
int n, m, a[105][105], u, d, l, r;
^
user.cpp:35:33: warning: unused variable ‘r’ [-Wunused-variable]
int n, m, a[105][105], u, d, l, r;
^
user.cpp:37:5: warning: unused variable ‘curr’ [-Wunused-variable]
int curr = 0;
^
user.cpp:38:11: warning: unused variable ‘dx’ [-Wunused-variable]
const int dx[] = {0, 1, 0, -1};
^
user.cpp:39:11: warning: unused variable ‘dy’ [-Wunused-variable]
const int dy[] = {1, 0, -1, 0};
^
user.cpp:41:6: warning: unused variable ‘viz’ [-Wunused-variable]
bool viz[105][105];
^
user.cpp:73:1: error: expected ‘}’ at end of input
}
^
user.cpp:73:1: error: expected ‘}’ at end of input
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !