blob: 167496e51b6bbfe829c622d453e354ad4c58ec82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <stdio.h>
void verify_stack()
{
int verified = 0;
char buf[8] = {4,4,4,4,8,8,8,8};
gets(buf);
/* <verification goes here> */
if (verified) {
printf("accept\n");
} else {
printf("reject\n");
}
}
int main(int argc, char *argv[])
{
printf("Lucky number: %d\n", 1337);
verify_stack();
return 0;
}
|