运行 ID: 5027

Main.cc: In function ‘int main()’:
Main.cc:7:11: error: expected primary-expression before ‘%’ token
     int d=%600%60;
           ^
Main.cc:8:5: error: ‘dhar’ was not declared in this scope
     dhar e=':';
     ^~~~
Main.cc:8:5: note: suggested alternative: ‘char’
     dhar e=':';
     ^~~~
     char
Main.cc:9:29: error: ‘e’ was not declared in this scope
     printf("%d%d%d%c",b,c,d,e);
                             ^
Main.cc:4:7: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~