結果
| 問題 |
No.72 そろばん Med
|
| コンテスト | |
| ユーザー |
Bantako
|
| 提出日時 | 2017-08-10 19:11:54 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 141 bytes |
| コンパイル時間 | 1,545 ms |
| コンパイル使用メモリ | 164,236 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-12 04:05:58 |
| 合計ジャッジ時間 | 2,363 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | WA * 24 |
コンパイルメッセージ
main.cpp:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
3 | main(){
| ^~~~
ソースコード
#include<bits/stdc++.h>
int MOD = 1000007;
main(){
int N;
scanf("%d",&N);
printf("%lld\n",(N/2LL+1)%MOD*((((N+1)/2+1))%MOD)-1);
}
Bantako