/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'void Matrix::Read() const':
/in/foo.cc:18:27: warning: writing into constant object (argument 2) [-Wformat=]
     scanf("%d", &Mat[i][j]);
                           ^
/in/foo.cc:18:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'const long long int*' [-Wformat=]
/in/foo.cc: In function 'int main()':
/in/foo.cc:69:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d %d", &K, &N);
                       ^
/in/foo.cc:69:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:72:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d\n", ans.Mat[1][K]);
                              ^
# 状态 耗时 内存占用
#1 Accepted 2ms 1.215 MiB
#2 Accepted 1ms 860.0 KiB
#3 Accepted 1ms 1.223 MiB
#4 Accepted 1ms 1.098 MiB
#5 Accepted 1ms 1.223 MiB
#6 Accepted 1ms 1.215 MiB
#7 Accepted 2ms 1.223 MiB
#8 Accepted 2ms 1.215 MiB
#9 Accepted 2ms 1.098 MiB
#10 Accepted 2ms 1.215 MiB

信息

递交者
类型
递交
题目
P1067 Warcraft III 守望者的烦恼
语言
C++
递交时间
2020-10-06 18:52:09
评测时间
2020-10-06 18:52:09
评测机
分数
100
总耗时
21ms
峰值内存
1.223 MiB