Task: | Sanalista |
Sender: | Kertor |
Submission time: | 2020-09-29 12:03:22 +0300 |
Language: | C++ (C++11) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.01 s | details |
#2 | WRONG ANSWER | 0.01 s | details |
#3 | WRONG ANSWER | 0.01 s | details |
Code
#include <iostream> #include <iomanip> #include <sstream> #include <vector> #include <string> #include <bits/stdc++.h> #define ll long long int using namespace std; int main() { ll n; cin >> n; ll PossibleMoves = n*n*(n*n-1)/2; ll Dangers = 4*(n-1)*(n-2); cout << PossibleMoves - Dangers; }
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
1000 korvata sopimusaika nuhatartunta korttiautomaatti ... |
correct output |
---|
15 |
user output |
---|
499995511992 |
Test 2
Verdict: WRONG ANSWER
input |
---|
1000 pub hansikaslokero erikoisvalmisteinen unijukka ... |
correct output |
---|
42 |
user output |
---|
499995511992 |
Test 3
Verdict: WRONG ANSWER
input |
---|
1000 haapalastu toipumisaika mustalaiskieli taidelainaamo ... |
correct output |
---|
70 |
user output |
---|
499995511992 |