結果
問題 | No.491 10^9+1と回文 |
ユーザー |
![]() |
提出日時 | 2016-08-15 18:36:16 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 153 bytes |
コンパイル時間 | 545 ms |
コンパイル使用メモリ | 64,804 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-23 19:17:27 |
合計ジャッジ時間 | 3,072 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 103 |
ソースコード
#include<iostream>using namespace std;int main(){int n,sum=0;cin>>n;if(n>=1000)sum+=9;else sum+=n/101;sum+=n/1111;cout<<sum<<endl;return 0;}