Pagini recente » Borderou de evaluare (job #2064379) | Borderou de evaluare (job #1718791) | Borderou de evaluare (job #874135) | Borderou de evaluare (job #876395) | Borderou de evaluare (job #2131225)
Borderou de evaluare (job #2131225)
Raport evaluator
Compilare:
user.cpp: In function ‘int BFS(std::pair<int, int>)’:
user.cpp:36:18: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
if(I < 1 | I > L | J < 1 | J > C | visited[I][J])
^
user.cpp:36:34: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
if(I < 1 | I > L | J < 1 | J > C | visited[I][J])
^
user.cpp:36:42: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
if(I < 1 | I > L | J < 1 | J > C | visited[I][J])
^
user.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdrum.in", "r", stdin);
^
user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdrum.out", "w", stdout);
^
user.cpp:55:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d %d", &L, &C, &K, &x1, &y1, &x2, &y2);
^
user.cpp:61:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &park[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1324kb | Incorect | 0 |
2 | 0ms | 1328kb | Incorect | 0 |
3 | 0ms | 1332kb | Incorect | 0 |
4 | 0ms | 1332kb | Incorect | 0 |
5 | 0ms | 1332kb | Incorect | 0 |
6 | 0ms | 1332kb | Incorect | 0 |
7 | 0ms | 1332kb | Incorect | 0 |
8 | 0ms | 1332kb | Incorect | 0 |
9 | 0ms | 1336kb | Incorect | 0 |
10 | 0ms | 1332kb | Incorect | 0 |
Punctaj total | 0 |