File: mode.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 (10 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
for (int c0 = 0; c0 <= M; c0 += 1) {
  for (int c1 = 0; c1 <= min(c0, N); c1 += 1) {
    S1(c0, c1);
    S2(c0, c1);
  }
  for (int c1 = max(0, N + 1); c1 <= c0; c1 += 1)
    S1(c0, c1);
  for (int c1 = c0 + 1; c1 <= N; c1 += 1)
    S2(c0, c1);
}