結果

問題 No.139 交差点
ユーザー testestesttestestest
提出日時 2017-06-18 06:28:52
言語 cLay
(20240104-1)
結果
CE  
実行時間 -
コード長 90 bytes
コンパイル時間 2,162 ms
コンパイル使用メモリ 150,588 KB
最終ジャッジ日時 2023-09-18 23:18:19
合計ジャッジ時間 2,899 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:232:5: error: ‘s’ was not declared in this scope
     s+=x-a;
     ^
main.cpp:236:8: error: ‘s’ was not declared in this scope
   wt_L(s+L-a);
        ^

ソースコード

diff #

ll n,L,x,w,t,a;{rd(n,L);rep(i,n){rd(x,w,t);s+=x-a;a=x;t-w<s%(t*=2)?s+=t-s%t:0;}wt(s+L-a);}
0