ソースコード
WITH PENA AS(
SELECT S.ENTRY_ID,
COUNT SUBMIT_ID
FROM SUBMISSIONS as S
INNER JOIN (
SELECT ENTRY_ID,
PROBLEM_ID,
MAX(SUBMITTED_AT) as LAST
FROM SUBMISSIONS
WHERE STATUS='AC'
and ENTRY_ID is not null
and CONTEST_ID=2
GROUP BY ENTRY_ID,PROBLEM_ID
)as SUB
ON S.ENTRY_ID=SUB.ENTRY_ID
and S.PROBLEM_ID=SUB.PROBLEM_ID
and S.SUBMITTED_AT<SUB.LAST
GROUP BY S.ENTRY_ID),
SCORE_TIME as (
SELECT ENTRY_ID,
SUM(POINT) as POI,
MAX(SUBMITTED_AT) as LAST
FROM SUBMISSIONS as S
WHERE STATUS='AC'
and ENTRY_ID is not null
and CONTEST_ID=2
GROUP BY ENTRY_ID)
提出情報
提出日時2024/01/30 09:05:11
コンテスト第3回 SQLコンテスト
問題順位計算
受験者doro
状態 (詳細)RE
(Runtime Error: 実行時エラー)
メモリ使用量85 MB
メッセージ
SQLITE_ERROR: incomplete input
テストケース(通過数/総数)
0/2
状態
メモリ使用量
データパターン1
RE
84 MB
データパターン2
RE
85 MB