Download examples/max_bench.c from AProver/aprover: direct link, hf CLI and curl.
- Browser
- Download file 210 Bytes
-
https://huggingface.co/spaces/AProver/aprover/resolve/main/examples/max_bench.c
- Command line
-
hf download hf://spaces/AProver/aprover/examples/max_bench.c
-
curl -L -o max_bench.c https://huggingface.co/spaces/AProver/aprover/resolve/main/examples/max_bench.c
210 Bytes
| int max ( int x, int y ) { | |
| if ( x >=y ) | |
| return x ; | |
| return y ; | |
| } | |
| void foo() | |
| { | |
| int s = max(34,45); | |
| //@ assert s==45; | |
| int t = max(-43,34); | |
| //@ assert t==34; | |
| } | |