結果
問題 | No.671 1000000007 |
ユーザー |
![]() |
提出日時 | 2018-06-26 19:40:58 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 279 bytes |
コンパイル時間 | 436 ms |
コンパイル使用メモリ | 59,300 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 22:57:59 |
合計ジャッジ時間 | 1,052 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
#include <fstream> #include <iostream> #include <string> #include <cstdlib> int main() { //std::ifstream inf("Text.txt"); std::cin.rdbuf(inf.rdbuf()); std::string str; std::cin >> str; std::cout << std::abs(static_cast<int>(str.length()) - 10) << std::endl; return 0; }