/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:16:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%d%d",&t,&n);
                  ~~   ^
foo.cc:16:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
foo.cc: At global scope:
foo.cc:29:1: error: expected unqualified-id before '...' token
 ...
 ^~~
foo.cc: In function 'int main()':
foo.cc:16:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&t,&n);
     ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
P1215 神奇的K好数
语言
C++
递交时间
2021-03-25 21:02:06
评测时间
2021-03-25 21:02:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes