結果
| 問題 | No.1673 Lamps on a line |
| コンテスト | |
| ユーザー |
_matumo_
|
| 提出日時 | 2021-10-06 17:49:23 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 129 bytes |
| 記録 | |
| コンパイル時間 | 383 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 26,104 KB |
| 最終ジャッジ日時 | 2026-04-03 12:16:52 |
| 合計ジャッジ時間 | 9,032 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 TLE * 1 -- * 5 |
ソースコード
f=lambda:[*map(int,input().split())] N,Q=f() p=[0]*N for i in range(Q): L,R=f() for j in range(L-1,R): p[j]^=1 print(sum(p))
_matumo_