結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
|
| 提出日時 | 2023-05-05 01:20:31 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 1,000 ms |
| コード長 | 366 bytes |
| コンパイル時間 | 227 ms |
| コンパイル使用メモリ | 5,248 KB |
| 実行使用メモリ | 39,040 KB |
| 最終ジャッジ日時 | 2024-11-22 14:28:19 |
| 合計ジャッジ時間 | 851 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 |
ソースコード
function Main(input) {
// parse input
const data = input.split("\n");
const first_line = data[0].split(" ");
const s = data[1];
// solve
const c = solve(parseInt(first_line[0]), parseInt(first_line[1]), s);
// output
console.log(c);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
function solve(a, b, s) {
return (a + b) + ' ' + s;
}