結果
| 問題 |
No.671 1000000007
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-20 14:40:02 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 394 bytes |
| コンパイル時間 | 1,214 ms |
| コンパイル使用メモリ | 158,328 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-28 14:40:41 |
| 合計ジャッジ時間 | 1,775 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 1 WA * 8 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define rep(i, n) for (int i = 0; i < (n); i++)
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
string s, t = "1000000007";
int ans = 0;
cin >> s;
for (int i = 0; i < t.size(); i++) {
if (s[i] != t[i])
ans++;
}
cout << ans << endl;
return 0;
}