結果
問題 |
No.72 そろばん Med
|
ユーザー |
![]() |
提出日時 | 2017-08-10 19:12:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 147 bytes |
コンパイル時間 | 1,618 ms |
コンパイル使用メモリ | 166,320 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-12 04:06:07 |
合計ジャッジ時間 | 2,435 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
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)%MOD); }