Cod sursa(job #86)
Utilizator | Data | 4 decembrie 2006 23:11:21 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Arhiva de probleme | Marime | 0.3 kb |
// Automated test for jrun.
// The following are parsed by test.php
// JRUN_ARGS = --time-limit 100 --memory-limit 16000
// JRUN_RES = FAIL: time [0-9]+ms memory [0-9]+kb: Blocked system call: [[:alnum:]]+.
#include <unistd.h>
#include <sys/reboot.h>
int main(void)
{
reboot(RB_AUTOBOOT);
return 0;
}