File: christian.c

package info (click to toggle)
isl 0.12.2-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,164 kB
  • ctags: 6,976
  • sloc: ansic: 86,111; sh: 11,923; python: 1,907; cpp: 593; makefile: 352; perl: 9
file content (6 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
for (int c0 = -N + 1; c0 <= N; c0 += 1) {
  for (int c1 = max(c0 - 1, 0); c1 < min(N + c0 - 1, N); c1 += 1)
    S2(c1, -c0 + c1 + 1);
  for (int c1 = max(c0, 0); c1 < min(N + c0, N); c1 += 1)
    S1(c1, -c0 + c1);
}