记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:21: error: 'i' was not declared in this scope
    8 |         for(int t=0;i<n.;i++){
      |                     ^
/in/foo.cc:8:25: error: expected unqualified-id before ';' token
    8 |         for(int t=0;i<n.;i++){
      |                         ^
/in/foo.cc:9:26: error: 'd' was not declared in this scope
    9 |                 scanf(""%d,&arr[i]);
      |                          ^
/in/foo.cc:8:17: warning: unused variable 't' [-Wunused-variable]
    8 |         for(int t=0;i<n.;i++){
      |                 ^
/in/foo.cc:14:29: error: 'intsert' was not declared in this scope; did you mean 'insert'?
   14 |                 scanf("%d",&intsert[i]);
      |                             ^~~~~~~
      |                             insert
/in/foo.cc:27:32: warning: zero-length gnu_printf format string [-Wformat-zero-length]
   27 |                         printf("");
      |                                ^~

信息

递交者
类型
自测
语言
C++
递交时间
2025-11-29 14:49:11
评测时间
2025-11-29 14:49:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes