結果
問題 | No.491 10^9+1と回文 |
ユーザー |
👑 ![]() |
提出日時 | 2017-06-18 06:37:39 |
言語 | cLay (20241019-1) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 105 bytes |
コンパイル時間 | 1,930 ms |
コンパイル使用メモリ | 171,276 KB |
実行使用メモリ | 16,952 KB |
最終ジャッジ日時 | 2024-07-05 12:19:02 |
合計ジャッジ時間 | 6,578 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 -- * 2 |
other | -- * 103 |
コンパイルメッセージ
main.cpp: In function ‘long long int f(long long int, long long int)’: main.cpp:101:1: warning: no return statement in function returning non-void [-Wreturn-type] 101 | } | ^
ソースコード
ll n,s;ll f(ll a,ll b){!b?s+=a<=n:f(a*10+b%10,b/10);}{rd(n);n/=1d9+1;rep(i,1,1d5)f(i,i),f(i,i/10);wt(s);}