0_0_33998873_4711.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_33998873_4711.cpp: In function 'int main()':
0_0_33998873_4711.cpp:7:9: error: 'cin' was not declared in this scope
while (cin >> n) {
^
0_0_33998873_4711.cpp:8:3: error: 'cout' was not declared in this scope
cout << n*n*n*(n*n*n - 1)/2 - 3 * n*n*(n - 1) << endl;
^
0_0_33998873_4711.cpp:8:52: error: 'endl' was not declared in this scope
cout << n*n*n*(n*n*n - 1)/2 - 3 * n*n*(n - 1) << endl;
^
|