Buatlah program yang melakukan pengurutan N (2≤N≤1000) buah bilangan seperti pada contoh kasus di bawah ini.
- Baris pertama berisi satu buah bilangan N.
- Baris kedua berisi N buah bilangan bulat Xi.
- Setiap bilangan dipastikan hanya antara 0-100.
for %%* in (.) do set CurrDirName=%%~nx* | |
for %%v in (*.ogg) do ffmpeg -loglevel panic -i ^"%%v^" -vn -ar 44100 -ac 2 -ab 192k -f mp3 ^"%%~nv.mp3^" | |
for %%v in (*.mp3) do echo file ^'%%v^'>>list.txt | |
ffmpeg -safe 0 -f concat -i list.txt -c copy "%CurrDirName%.mp3" |
+ + +++ | |
^^^^^^^^^ +---- | |
*********** ^ ^^^^^^^^^ +++ ^^^^^^^^^ | |
******* ************* ^^ ^^^^^^^ ------------| ^^^^^^^^^^^^^^ | |
*********** *********** ^^^^^^^^^^^^^^^ ---******|| |
c=document.body; | |
_='b=[85,1,-1],d=Array(1,0,4, onpoimov(>{dd=>d%2),90+e.x= e-12}),setIval(()=>{a1])%,f*2])*f+a,(<=a||!a1!f2|<f!(=||( 0einnerText(d,e)=>e%?d:"\\n"+d))},;100] e].fill(=d.map(]*=-1)|((||3,c. d[b[)&&/|0,0)]=e=nter=(+';for(Y in $=' ')with(_.split($[Y]))_=join(pop());eval(_) |
:: for mp4 the recommended video and audio codec is h264 and aac. You may opt out that though. | |
:: if you really want to save this as batch, replace % with %%. | |
:: convert *.avi to *.mp4 | |
ffmpeg -i "%f" "%~nf.mp4" -acodec aac -vcodec h264 | |
:: convert all *.avi to *.mp4 | |
for %f in (*.avi) do (ffmpeg -i "%f" "%~nf.mp4" -acodec aac -vcodec h264) | |
:: merge all *.avi to single *.mp4 |
import bpy | |
scene = bpy.context.scene | |
objs = [obj for obj in scene.objects if hasattr(obj.data, 'vertices')] | |
objs.sort(key=lambda x: len(x.data.vertices), reverse=True) | |
print("Enumerating...\t verts\t edges\t faces") | |
for m in objs: |
@echo off | |
REM DO NOT USE THIS INSIDE THE FOLDER WHICH ALREADY HAS .GIT REPO | |
IF EXIST .git ( | |
echo THERE'S A .GIT FOLDER!!! Aborting. | |
) ELSE ( | |
git init | |
echo * text=auto eol=lf>.gitattributes | |
git add -A | |
git commit -m "Init the Dummy" |
Di sebuah perusahaan bernama Coconut.Inc, seorang pekerja dimintai bossnya untuk menciptakan sebuah aplikasi generator key yang dapat merahasiakan pesan yang akan disampaikan. Bantu dia untuk menyelesaikan pekerjaannya!
Baris pertama merupakan input user yang berisikan dictonary (key dan value) dari secret key yang akan digenerate.
Baris kedua merupakan inputan user yang berisikan kalimat yang akan dijadikan pesan rahasia.
// Place your settings in this file to overwrite the default settings | |
{ | |
"files.exclude": { | |
"**/*.meta": true, | |
"**/Dump": true, | |
"**/bin": true, | |
"**/obj": true, | |
"**/~$*": true, | |
"**/.vs": true, | |
"**/_site/": true, |