Pagini recente » Borderou de evaluare (job #996875) | Borderou de evaluare (job #1307334) | Borderou de evaluare (job #2991914) | Borderou de evaluare (job #3013700) | Borderou de evaluare (job #2072624)
Borderou de evaluare (job #2072624)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:33:2: warning: excess elements in scalar initializer [enabled by default]
const char *argv={"/bin/ls","-1",NULL};
^
user.c:33:2: warning: (near initialization for ‘argv’) [enabled by default]
user.c:33:2: warning: excess elements in scalar initializer [enabled by default]
user.c:33:2: warning: (near initialization for ‘argv’) [enabled by default]
user.c:34:3: warning: passing argument 2 of ‘execve’ from incompatible pointer type [enabled by default]
execve("/bin/ls",argv,evp);
^
In file included from user.c:3:0:
/usr/include/unistd.h:552:12: note: expected ‘char * const*’ but argument is of type ‘const char *’
extern int execve (__const char *__path, char *__const __argv[],
^
user.c:34:3: warning: passing argument 3 of ‘execve’ from incompatible pointer type [enabled by default]
execve("/bin/ls",argv,evp);
^
In file included from user.c:3:0:
/usr/include/unistd.h:552:12: note: expected ‘char * const*’ but argument is of type ‘const char *’
extern int execve (__const char *__path, char *__const __argv[],
^
user.c:16:6: warning: unused variable ‘n’ [-Wunused-variable]
int n;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 7 | 0ms | 164kb | Blocked system call: clone. | 0 | 0 |
| 8 | 0ms | 164kb | Blocked system call: clone. | 0 |
| 9 | 0ms | 164kb | Blocked system call: clone. | 0 |
| 10 | 0ms | 164kb | Blocked system call: clone. | 0 |
| 1 | 0ms | 164kb | Blocked system call: clone. | 0 | 0 |
| 2 | 0ms | 160kb | Blocked system call: clone. | 0 |
| 3 | 0ms | 160kb | Blocked system call: clone. | 0 |
| 4 | 0ms | 160kb | Blocked system call: clone. | 0 | 0 |
| 5 | 0ms | 164kb | Blocked system call: clone. | 0 |
| 6 | 0ms | 164kb | Blocked system call: clone. | 0 |
| Punctaj total | 0 |