Pagini recente » Borderou de evaluare (job #3005186) | Borderou de evaluare (job #37362) | Borderou de evaluare (job #1598393) | Borderou de evaluare (job #2140873) | Borderou de evaluare (job #2607933)
Borderou de evaluare (job #2607933)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(short int, short int)':
main.cpp:23:24: warning: array subscript has type 'char' [-Wchar-subscripts]
short nx=i+dx[d];
^
main.cpp:25:21: warning: array subscript has type 'char' [-Wchar-subscripts]
if(fr[i+dx[d]][j+dx[(d+1)%4]]==0&&i+dx[d]&&j+dx[(d+1)%4]&&i+dx[d]<=n&&j+dx[(d+1)%4]<=m)
^
main.cpp:25:49: warning: array subscript has type 'char' [-Wchar-subscripts]
if(fr[i+dx[d]][j+dx[(d+1)%4]]==0&&i+dx[d]&&j+dx[(d+1)%4]&&i+dx[d]<=n&&j+dx[(d+1)%4]<=m)
^
main.cpp:25:73: warning: array subscript has type 'char' [-Wchar-subscripts]
if(fr[i+dx[d]][j+dx[(d+1)%4]]==0&&i+dx[d]&&j+dx[(d+1)%4]&&i+dx[d]<=n&&j+dx[(d+1)%4]<=m)
^
main.cpp:26:23: warning: array subscript has type 'char' [-Wchar-subscripts]
dfs(i+dx[d],j+dx[(d+1)%4]);
^
main.cpp:23:15: warning: unused variable 'nx' [-Wunused-variable]
short nx=i+dx[d];
^~
main.cpp:24:15: warning: unused variable 'ny' [-Wunused-variable]
short ny=j+dx[(d+1)%4];
^~
main.cpp: In function 'int main()':
main.cpp:44:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1; j<=m; j++)
^~~
main.cpp:49:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fout<<nr;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 262kb | OK | 10 |
3 | 220ms | 20496kb | Memory limit exceeded | 0 |
4 | 11ms | 262kb | OK | 10 |
5 | 45ms | 655kb | OK | 10 |
6 | 225ms | 15859kb | OK | 10 |
7 | 188ms | 1966kb | OK | 10 |
8 | 81ms | 9437kb | OK | 10 |
9 | 162ms | 1572kb | OK | 10 |
10 | 203ms | 20496kb | Memory limit exceeded | 0 |
Punctaj total | 80 |