Max problem ok, but how about a Min dito

So, the Max problem is fixed(see below), but how can I manage a Minimum dito?
int[] stor = {s1,s2,s3,s4,s5,s6,s7};
java.util.Arrays.sort(stor);
System.out.println("Max " + stor[stor.length-1]);
/Martin

I wouldn't use the Arrays.sort method for very large
arrays, because it'll just be extremely slow.
Preferably use the method with loops through the
entire array, as I have stated earlier.sorry, but you're talking rubbish.

Similar Messages

  • I have a big problem with my Iphone 4...the pics and videos that i capture, often shows as inverted or orientted by 90/180/270 degrees. photos, one can rotate, but how about videos... is there any way i'm going wrong? this wasn't happening earlier

    My question...
    any answers pl.
    I have a big problem with my Iphone 4...the pics and videos that i capture, often shows as inverted or orientted by 90/180/270 degrees. photos, one can rotate, but how about videos... is there any way i'm going wrong? this wasn't happening earlier

    If I've understood you correctly then the ALLEXCEPT function may be what you're after and it could be applied in a similar way to the following...
    =
    RANKX(
    ALL(Table1),
    CALCULATE(
    COUNTROWS(table1),
    ALLEXCEPT(Table1, Table1[ContactReason])
    DENSE
    If this has missed the mark, would it be possible to clarify the requirement further?
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com
    Blog: http://www.nimblelearn.com/blog
    Twitter: @nimblelearn

  • Great, but how about a volume fix?

    Prices drop - big deal. But how about getting the volume up so I can hear callers or an even somewhat useful speakerphone level. Come on already!! I am losing patience on this - aren't you?

    +1 for me - earpiece volume and speakerphone volume useless.
    I think good ol' apple does it so we have to buy the Apple Bluetooth..
    Which by the way does work wonderfully.

  • Yeah, but how about a Dual 2.66 vs. the new 2.8 Quad

    How would those compare?? That seems a little harder to figure.

    According to Intel, the largest gains between the new Xeon "Penryn" processor and the old Xeon will be with applications built to take advantage of the new SSE4 instructions. So far there aren't any. But in time there will be and if you'll be using those applications, then you see a large difference in speed with the new Mac Pros. Unfortunately, can't tell what applications those will be as of today.

  • I just installed lightroom 5, 3 weeks later my computer crashed, I know I can move files but how about the license? I also installed a second copy on a laptop that I used for class

    I also installed a second copy on a laptop that I used for class

    There is no activation process like there is with Photoshop. So you can just go ahead and install Lightroom again on your new or rebuilt computer.

  • JavaFX for WM EA is ready, but how about is for the android and symbian?

    We are eager to know whether the Android and Symbian Runtime is going or not?

    Contact Support and explain your issue.
    Mac App Store Support -
    http://www.apple.com/support/mac/app-store/

  • Canon DC20 is compatible but how about DC22

    I purchased a Canon DC22 back in Aug and we are now trying to get our movie uploaded in iMovie HD. No luck.
    I notice that the DC20 (DC22's predecessor) is compatible with iMovie '08. Does anyone know if the DC22 is? If not, I am going to have to go and buy another Camcorder since this one is just a paperweight right now.
    Thanks.
    jeff

    Yes this printer supports AirPrint
    http://support.apple.com/kb/HT4356
    And it has a driver
    http://support.apple.com/kb/ht3669

  • 10.9 update, how about bootcamp?

    I beleive that this topic is already well discussed, but I cannot find it. Please help.
    I have MBP5,1 and it has 10.8.5. I'd like to update it to 10.9, but how about bootcamp valume? I have so many Windows apps.
    My question is can I just update it to 10.9 (overwrite)? Does it affect bootcamp volume?
    Or should I take a time and do it with winclone?
    Please advise!

    You should always have backups.
    If your Mac's partitions are standard (including Bootcamp) and no resizing has taken place since Bootcamp was used there shouldn't be a problem upgrading to Mavericks.
    If your partitions have been re-sized since installing Windows in Bootcamp then it is very possible that Windows could be lost or at least that repairs would need to be made to it - though that is not 100% successful.

  • I bought the key..but how do I download the new version without purchasing?

    I must be having a bad day. I can' figure this out.
    Wanted to upgrade to 7.2 from 7.0. No big deal. I purchase the Prokey for 29.99. Order status is good. Says the key is delivered... I check the mail...Got it. Enter the registration.. no problem.
    But how in the heck to download the 7.2 version? I've not downloaded any new software. When I start QT, I am still in the old version (with the registration key displayed). There is no prompt to download the 7.2 version.
    In the Dowloaded Purchases section of my account at the Apple Store there is no link display where I can access the QT 7.2.
    What am I doing wrong?
    Many thanks in advance...
    Message was edited by: Larry Schiffer

    Hi Larry
    Entering the key unlocks the Pro features previously greyed-out. It's not necessary to download another version, though there will be updates from time to time.
    Go to Quicktime Preferences to check you key is showing - it should say Quicktime Pro underneath the key field.

  • In my macbook pro 15 inch mid 2012 model, my cpu and gpu will get very hot, when gaming or rendering sometimes over 200F. The fans only spin at max about 2900 rpm, when their max is 6400. I downloaded a fan control app, but how can i fix it?

    In my macbook pro 15 inch mid 2012 model, my cpu and gpu will get very hot, when gaming or rendering sometimes over 200F. The fans only spin at max about 2900 rpm, when their max is 6400. I downloaded a fan control app, but how can i fix it?

    Hi rhaughan,
    I see that you have concerns about your operating temperature of your computer while using resource-heavy applications such as gaming applications. I have an article that will address some of the concerns you have mentioned:
    Mac notebooks: Operating temperature - Apple Support
    http://support.apple.com/en-is/HT201640
    While there are third-party utilities that measure the temperature of a notebook computer, it is important to understand that these utilities are not measuring the external case temperature. The actual case temperature is much lower. Never use third-party applications to diagnose possible hardware issues—instead, contact Apple or go to an Apple Retail Store or Apple Authorized Service Provider.
    You should also see this article for even further information about your fans:
    Learn about the fans in your Mac - Apple Support
    http://support.apple.com/en-is/HT202179
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • I have problem  in signing in I don't like read and accept terms I cannot access this I don't know about this read and accept terms this is poor, I just like android's simple option and simple singing in, but how to use apple I'd?

    I have problem  in signing in I don't like read and accept terms I cannot access this I don't know about this read and accept terms this is poor, I just like android's simple option and simple singing in, but how to use apple I'd?

    Your computer is called an iMac.
    Did you turn proxies on?  If so, you should turn them off.

  • My macbook pro keeps going to screensaver after about 3 mins while watching a movie, i tried changing the time on the "Energy saver" menu in system preferences but it keeps doing it, how do i stop this?

    my macbook pro keeps going to screensaver after about 3 mins while watching a movie, i tried changing the time on the "Energy saver" menu in system preferences but it keeps doing it, how do i stop this?

    Deleting the System Preference or other .plist file
    Install Caffine.
    http://lightheadsw.com/caffeine/

  • HT5622 iPad 3 and my sound has stopped from speakers, but can get from headphones.  It's not the side switch and the volume is max in all areas.  Anyone got any ideas, what problem is and how to fix it thanks

    Hi,
    My iPad has just stopped working with sound from the speakers, it works fine with the headphones in.  The soft mute button is not made and the volume is at max.
    Any ideas what problem is and how to sort.  Thanks

    System sounds can be muted from the software switch in the task bar as well as from the side switch depending on how you have it set up. This my boilerplate resonse for sound issues.
    1. If you have no sound at all, even in the Music App, try rebooting the iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    2. If you lost sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085
    3. If you still have no sound at all - except when using headphones ....try cleaning the dock connector opening of the iPad with a soft brush and just a little bit of rubbing alcohol.

  • Hallo, i have a problem with the intallation about after effects. I have a mac 10.6.8 and they told me I can't installete it because i don't have a system with 64 bit. how can i do? someone told me i can .. but i don't know how. thank you

    hallo, i have a problem with the intallation about after effects. I have a mac 10.6.8 and they told me I can't installete it because i don't have a system with 64 bit. how can i do? someone told me i can .. but i don't know how. thank you

    You cannot.  If someone else told you there is a way then they will need to show you.  After Effects requires a 64-bit system and the latest release requires Mac OS X v10.8 or v10.9 minimum

  • HT201407 How come when I try and restore my iPhone 4 GSM (factory unlocked) with itunes, it starts ok, and then at 60% blocks like for about 5 min, and then continues till 100% and itunes give error msg (-1) ??? what can be the problem

    How come when I try to restore my iPhone 4 GSM (factory unlocked) with itunes, it starts ok, then at 60% blocks like for about 5 min, then continues till 100% and itunes give error msg (-1) ??? what can be the problem.
    thank you in advance.

    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
    http://support.apple.com/kb/TS3694

Maybe you are looking for