fork download
  1. program cake;
  2. var
  3. N: longint;
  4. fette : qword;
  5. begin
  6. readln(N);
  7.  
  8. fette := (N div 2 + 1) * ((N + 1) div 2 + 1);
  9.  
  10. writeln(fette);
  11. end.
Success #stdin #stdout 0s 5320KB
stdin
1
stdout
2