結果
問題 | No.491 10^9+1と回文 |
ユーザー |
![]() |
提出日時 | 2017-06-30 00:48:12 |
言語 | cLay (20241019-1) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 104 bytes |
コンパイル時間 | 2,149 ms |
コンパイル使用メモリ | 170,284 KB |
実行使用メモリ | 16,952 KB |
最終ジャッジ日時 | 2024-07-05 12:21:31 |
合計ジャッジ時間 | 6,209 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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(10a+b%10,b/10);}{rd(n);n/=1d9+1;rep(i,1,1d5)f(i,i),f(i,i/10);wt(s);}