Submission #980496

# Submission time Handle Problem Language Result Execution time Memory
980496 2024-05-12T08:02:03 Z vjudge1 Hexagonal Territory (APIO21_hexagon) C++17
0 / 100
1 ms 600 KB
#include "hexagon.h"
#include<bits/stdc++.h>
#define sz size()
#define ll long long
using namespace std;
const ll M = 1e9 + 7;
int draw_territory(int N, int A, int B, vector<int> D, vector<int> L)
{
    ll ans = ((ll)L[0] + 1ll) * ((ll)L[0] + 2ll) / 2ll * (ll)A % M;
    return int(ans);
}


//void solve()
//{
//}
//
//signed main()
//{
//    ios_base::sync_with_stdio(0);
//    cin.tie(0), cout.tie(0);
////    solve();
//}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 600 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 600 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -