Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: chaofan Download
 Description: # include <iostream> using namespace std int s [100005] int main () (int i, j, k, sum, n while (scanf ( " d" , & n)! = EOF) (for (i = 0 i <n i++) scanf(" d",&s[i]) sort(s,s+n) for(i=sum=0 i<n i++) { sum+= s[i]* (n- i) } printf(" d\n",sum) } return 0 }
 Downloaders recently: [More information of uploader orchid714]
 To Search:
File list (Check if you may need any files):
炒饭
....\Debug
....\.....\vc60.idb
....\.....\vc60.pdb
....\.....\炒饭.exe
....\.....\炒饭.ilk
....\.....\炒饭.obj
....\.....\炒饭.pdb
....\炒饭.cpp
....\炒饭.dsp
....\炒饭.dsw
....\炒饭.ncb
....\炒饭.opt
....\炒饭.plg
    

CodeBus www.codebus.net