結果
| 問題 | 
                            No.111 あばばばば
                             | 
                    
| コンテスト | |
| ユーザー | 
                             shot
                         | 
                    
| 提出日時 | 2016-01-11 01:12:57 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 520 bytes | 
| コンパイル時間 | 1,119 ms | 
| コンパイル使用メモリ | 158,676 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-19 18:41:13 | 
| 合計ジャッジ時間 | 1,572 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 4 WA * 6 | 
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:20:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   20 |   scanf("%d", &L);
      |   ~~~~~^~~~~~~~~~
            
            ソースコード
#include<bits/stdc++.h>
using namespace std;
#define ll long long 
#define pb push_back 
#define fr first
#define sc second
#define Rep(i,n) for(int i=0;i<(n);i++)
#define All(v) v.begin(),v.end()
#define Uniq(v) v.erase(unique(all(v)),v.end())
typedef pair<int, int> Pii; 
typedef pair<int, Pii> Pip;
typedef pair<string, int> Psi;
typedef vector<int> Vi;
const int INF = (1<<30);
const int dx[]={1,0,-1,0}, dy[]={0,-1,0,1};
int main()
{
  int L;
  scanf("%d", &L);
  printf("%d\n", (L-1)/2 * (L-1) / 2);
  return 0;
}
            
            
            
        
            
shot