记录详情

Wrong Answer

foo.cc: In function ‘int gys(int, int)’:
foo.cc:5:9: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
    5 |     int m,n;//m表示商,n表示余数
      |         ^
foo.cc: In function ‘int main()’:
foo.cc:42:18: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized]
   42 |         cout<<x<<" "<<y<<endl;
      |                  ^~~
foo.cc:33:13: note: ‘x’ was declared here
   33 |         int x,y;
      |             ^
foo.cc:42:23: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
   42 |         cout<<x<<" "<<y<<endl;
      |                       ^
foo.cc:33:15: note: ‘y’ was declared here
   33 |         int x,y;
      |               ^
# 状态 耗时 内存占用
#1 Accepted 3ms 532.0 KiB
#2 Accepted 3ms 324.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Wrong Answer Read 87, expect 29. 3ms 536.0 KiB
#5 Accepted 3ms 492.0 KiB

信息

递交者
类型
递交
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-09-29 19:16:31
评测时间
2024-09-29 19:16:31
评测机
分数
80
总耗时
16ms
峰值内存
536.0 KiB