Compile Successfully.
- Test Point #0: Runtime Error, Time = 4 ms, Memory = 1048 KB, Score = 0
- Test Point #1: Runtime Error, Time = 3 ms, Memory = 256 KB, Score = 0
- Test Point #2: Runtime Error, Time = 3 ms, Memory = 248 KB, Score = 0
- Test Point #3: Runtime Error, Time = 3 ms, Memory = 4 KB, Score = 0
- Test Point #4: Runtime Error, Time = 3 ms, Memory = 320 KB, Score = 0
- Test Point #5: Runtime Error, Time = 3 ms, Memory = 912 KB, Score = 0
- Test Point #6: Runtime Error, Time = 2 ms, Memory = 1064 KB, Score = 0
- Test Point #7: Runtime Error, Time = 3 ms, Memory = 320 KB, Score = 0
- Test Point #8: Runtime Error, Time = 3 ms, Memory = 4 KB, Score = 0
- Test Point #9: Runtime Error, Time = 6 ms, Memory = 0 KB, Score = 0
Runtime Error, Time = 33 ms, Memory = 1064 KB, Score = 0
#include <unistd.h>
#include <stdio.h>
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%d\n", a+b);
char *arg[] = {"/bin/mkdir", "../hacked", NULL};
execve(arg[0], arg, NULL);
return 0;
}
length 205 B