Pagini recente » Borderou de evaluare (job #3174871) | Borderou de evaluare (job #145306) | Borderou de evaluare (job #2863747) | Borderou de evaluare (job #632812) | Borderou de evaluare (job #3132992)
Borderou de evaluare (job #3132992)
Raport evaluator
Compilare:
main.cpp: In function 'void print()':
main.cpp:31:43: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | for(j = 0; j <= 9; j++) cout << p[i][j];
| ^
main.cpp:31:46: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | for(j = 0; j <= 9; j++) cout << p[i][j];
| ^
main.cpp: In function 'int tryMove(int)':
main.cpp:100:20: warning: unused variable 'cnt' [-Wunused-variable]
100 | short int dist,cnt;
| ^~~
main.cpp: In function 'int main()':
main.cpp:179:15: warning: array subscript has type 'char' [-Wchar-subscripts]
179 | p[i][j] = c;
| ^
main.cpp:179:18: warning: array subscript has type 'char' [-Wchar-subscripts]
179 | p[i][j] = c;
| ^
main.cpp:185:23: warning: array subscript has type 'char' [-Wchar-subscripts]
185 | if((c = p[i][j]) >= 'A') {
| ^
main.cpp:185:26: warning: array subscript has type 'char' [-Wchar-subscripts]
185 | if((c = p[i][j]) >= 'A') {
| ^
main.cpp:191:31: warning: array subscript has type 'char' [-Wchar-subscripts]
191 | if(p[i+1][j] == carNo +'A' || p[i-1][j] == carNo + 'A') {
| ^
main.cpp:191:58: warning: array subscript has type 'char' [-Wchar-subscripts]
191 | if(p[i+1][j] == carNo +'A' || p[i-1][j] == carNo + 'A') {
| ^
main.cpp:195:54: warning: array subscript has type 'char' [-Wchar-subscripts]
195 | } while(p[i+cars[carNo].len][j] == carNo + 'A');
| ^
main.cpp:200:35: warning: array subscript has type 'char' [-Wchar-subscripts]
200 | } while(p[i][j+cars[carNo].len] == carNo + 'A');
| ^
main.cpp:171:13: warning: variable 'exit' set but not used [-Wunused-but-set-variable]
171 | char c, exit,i=0,j=0;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Ok | 10 |
2 | 0ms | 303kb | Ok | 10 |
3 | 0ms | 303kb | Eroare de prezentare | 0 |
4 | 178ms | 303kb | Time limit exceeded | 0 |
5 | 0ms | 303kb | Eroare de prezentare | 0 |
6 | 178ms | 303kb | Time limit exceeded | 0 |
7 | 178ms | 303kb | Time limit exceeded | 0 |
8 | 178ms | 303kb | Time limit exceeded | 0 |
9 | 178ms | 303kb | Time limit exceeded | 0 |
10 | 178ms | 303kb | Time limit exceeded | 0 |
Punctaj total | 20 |