QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#309442 | #8031. Gitignore | Ebiarat# | WA | 0ms | 3516kb | C++20 | 197b | 2024-01-20 17:22:08 | 2024-01-20 17:22:09 |
Judging History
answer
#include <iostream>
using namespace std;
int main() {
long int n, i1, i2;
cin >> n;
i1 = n/3;
i2 = (n-1)/3;
cout<< (i1+1)*i1 + n*i2 - 3*i2*(i2+1)/2;
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3516kb
input:
2 3 0 data/train data/test model 3 1 data/train data/test model data/sample
output:
0
result:
wrong answer 1st numbers differ - expected: '2', found: '0'