結果

問題 No.388 階段 (1)
ユーザー YukkkuYukkku
提出日時 2023-05-27 08:43:41
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 1,143 bytes
コンパイル時間 26 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 43,312 KB
最終ジャッジ日時 2023-08-26 18:17:31
合計ジャッジ時間 2,060 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
42,996 KB
testcase_01 AC 77 ms
43,032 KB
testcase_02 AC 71 ms
42,996 KB
testcase_03 AC 71 ms
43,012 KB
testcase_04 AC 71 ms
43,060 KB
testcase_05 AC 74 ms
43,044 KB
testcase_06 AC 72 ms
43,052 KB
testcase_07 AC 72 ms
43,052 KB
testcase_08 AC 73 ms
43,100 KB
testcase_09 AC 73 ms
43,312 KB
testcase_10 AC 73 ms
43,016 KB
testcase_11 AC 75 ms
42,996 KB
testcase_12 AC 73 ms
43,112 KB
testcase_13 AC 72 ms
43,100 KB
testcase_14 AC 72 ms
42,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

// 入力ライブラリ
//@ts-ignore
const[str,num,num1,bgi,bgi1,tup,arr]=(()=>{const s=require('fs').readFileSync(process.stdin.fd,'utf8').trim().split(/\s+/);let i=0;return[()=>s[i++],()=>Number(s[i++]),()=>Number(s[i++])-1,()=>BigInt(s[i++]),()=>BigInt(s[i++])-1n,/**@template{unknown[]}T@param{{[K in keyof T]: () => T[K]}}f@returns{T}*/(...f)=>()=>f.map(x=>x()),/**@template T@param{number}n@param{()=>T}f*/(n,f)=>()=>{const r=[];for(let i=0;i<n;i++){r.push(f())}return r}]})();

// mod問題用
/** @type{{mul:(a:number,b:number,n:number)=>number,pow:(a:number,b:number,n:number)=>number}} *///@ts-ignore
const{mul,pow}=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,8,1,96,3,127,127,127,1,127,3,3,2,0,0,7,13,2,3,109,117,108,0,0,3,112,111,119,0,1,10,81,2,14,0,32,0,173,32,1,173,126,32,2,173,130,167,11,64,1,3,126,32,0,173,33,3,66,1,33,4,32,2,173,33,5,3,64,32,1,65,1,113,4,64,32,4,32,3,126,32,5,130,33,4,11,32,1,65,1,118,34,1,4,64,32,3,32,3,126,32,5,130,33,3,12,1,11,11,32,4,167,11,0,12,4,110,97,109,101,2,5,2,0,0,1,0]))).exports;

const s = num();
const f = num();
console.log(Math.floor(s/f)+1);
0