Submission #645614

# Submission time Handle Problem Language Result Execution time Memory
645614 2022-09-27T13:42:36 Z Smailik_ Chessboard (IZhO18_chessboard) C++14
0 / 100
0 ms 212 KB
#include <bits/stdc++.h>

#define ll long long int
#define pb push_back
#define ui unsigned int
#define ld long double
#define pl pair<long long int, long long int>
#define boost ios_base::sync_with_stdio(NULL);cin.tie(0);cout.tie(0);
#define ff first
#define ss second

using namespace std;

const ll maxn = 1e6 + 101;
// const ll inf = 1e17 + 9;
// const ll mod = 1e9 + 7;
// const double eps = 1e-10;
// const ll num = 4294967295;

ll p[maxn];

void solve()
{
    ll n, k;

    cin >> n >> k;

    cout << n * n / 2;
}

int main()
{
    boost;

    ll tt = 1;

    //cin >> tt;

    for(ll i = 1; i <= tt; i++)
    {
        //cout << "Case " << i << ":\n";
        solve();
    }
}  
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -