結果

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

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