All pastes #581130 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-21 11:39 UTC
rendered paste body
int main(int argc, char ** argv){
    assert(max({1, 2, 3, 4, 5, 6}) == 6);
    assert(max({6, 1, 6, 1, 6, 1}) == 6);
    assert(max({6, 3, 5, 4, 2, 1}) == 6);
    assert(max({7, 4, 7, 1, 7, 3}) == 7);
    assert(max({-5, -4, -3, -2}) == -2);
    
    return 0;
}