Piktieji trejetai
- [1] 2017-10-21 11:21 (40)
- [2] 2017-10-21 15:39 (0)
- [3] 2017-10-21 15:40 (0)
- [4] 2017-10-21 15:40 (25)
- [5] 2017-10-21 15:43 (50)
- [6] 2017-10-21 15:46 (0)
- [7] 2017-10-21 15:46 (100)
Taškai: 0
Compile: FAIL
trejetai.cpp: In function ‘int main()’: trejetai.cpp:12:5: error: ‘else’ without a previous ‘if’ else cout<<"\n"<<n*n+n*(n)/2/2 +(10+(n/2-1)*14)*(n)/2/2<<endl; ^
nr. | result | time | message |
---|