結果
問題 | No.671 1000000007 |
ユーザー |
![]() |
提出日時 | 2018-04-18 23:15:41 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 375 bytes |
コンパイル時間 | 541 ms |
コンパイル使用メモリ | 65,192 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-27 04:35:51 |
合計ジャッジ時間 | 1,121 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
// No.671 1000000007 // https://yukicoder.me/problems/no/671 // #include <iostream> #include <string> #include <cstdlib> using namespace std; int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); string a = "1000000007"; string b; cin >> b; int a_len = a.size(); int b_len = b.size(); cout << abs(a_len - b_len) << endl; }