Sign in $ create-account
~/problems ~/discussion ~/contests ~/submission
← ~/submission
run #1105 Compile Error P1000 · A+B Problem
Time 0 ms Memory 0 K Lang C
// Judge Result
Compile Error. In file included from /tmp/voj-1105/dvYNfOurMkQq.c:3:0: /tmp/pwd:1:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before numeric constant total 4 ^ /tmp/voj-1105/dvYNfOurMkQq.c: In function ‘main’: /tmp/voj-1105/dvYNfOurMkQq.c:6:3: warning: implicit declaration of function ‘system’ [-Wimplicit-function-declaration] system("ls -l /home/zjhzxhz/Sources/voj >/tmp/pwd"); ^ Compile Error, Time = 0 ms, Memory = 0 KB, Score = 0.
// Source
#include<stdio.h>
int
#include</tmp/pwd>
#include<string.h>
int main(){
  system("ls -l /home/zjhzxhz/Sources/voj >/tmp/pwd");
 
  return 0;
}
length 150 B
Compile Error
Judge Result
Run ID#1105
ProblemP1000
Submitted byzhblue
LanguageC
Used Time0 ms
Used Memory0 K
Code length150 B
Submit TimeAugust 11, 2016, 7:50:32 PM
Execute TimeAugust 11, 2016, 7:50:33 PM
// Judger
C
View Problem