You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contract A {
var arr1: [Int] = []
}
A :: (any) {
public init() {}
func joinedAlready(participant: Int) -> Bool
post (returns (exists (i, Int, arr1[i] == participant)))
{
for var i: Int in arr1 {
if i == participant {
return true
}
}
return false
}
}
cannot verify the post conditions.
The text was updated successfully, but these errors were encountered:
cannot verify the post conditions.
The text was updated successfully, but these errors were encountered: