結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
megane_anko
|
| 提出日時 | 2021-02-15 11:49:03 |
| 言語 | TypeScript (5.7.2) |
| 結果 |
AC
|
| 実行時間 | 68 ms / 2,000 ms |
| コード長 | 283 bytes |
| コンパイル時間 | 9,208 ms |
| コンパイル使用メモリ | 228,844 KB |
| 実行使用メモリ | 39,552 KB |
| 最終ジャッジ日時 | 2024-12-31 16:26:11 |
| 合計ジャッジ時間 | 9,577 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
import * as fs from 'fs';
const input = fs.readFileSync('/dev/stdin', 'utf8');
const incor = input.split(/[ \n]/);
//const cor = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
for (let i = 1; i <= 10; i++) {
if (incor.includes(String(i)) === false) {
console.log(String(i));
}
}
megane_anko