aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-24 15:44:56 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-24 15:44:56 -0800
commitd9fc6cfaa2456431064779b8246b01d184402717 (patch)
tree431f9b025b048ca5a99f802f076621d4065ef617 /tests
parent2121e4bcb25d22cb87925e04b18fb1db40b6d260 (diff)
rename stuff in corrections benchmark
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/runner.py b/tests/runner.py
index e35dc1e8..9f1893ec 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4709,14 +4709,14 @@ else:
int main() {
int N = 6000;
int M = 6000;
- unsigned int final = 0;
+ unsigned int f = 0;
for (int t = 0; t < M; t++) {
for (int i = 0; i < N; i++) {
- final += i / ((t % 5)+1);
- if (final > 1000) final /= (t % 3)+1;
+ f += i / ((t % 5)+1);
+ if (f > 1000) f /= (t % 3)+1;
}
}
- printf("final: %d.\\n", final);
+ printf("final: %d.\\n", f);
return 1;
}
'''