結果
| 問題 |
No.1550 nullくんの町清掃 / null's Town Cleaning
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-18 22:23:38 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 265 bytes |
| コンパイル時間 | 1,247 ms |
| コンパイル使用メモリ | 165,560 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-22 20:47:56 |
| 合計ジャッジ時間 | 1,680 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
long long n;
cin >> n;
if (n < 0)
n += 1000000007;
cout << (n) % (1000000007);
}