记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:20:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&t);
  ~~~~~^~~~~~~~~
foo.cc:22:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&n);
   ~~~~~^~~~~~~~~
foo.cc:36:14: warning: 'ans2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   cout<<ans1*ans2<<endl;
              ^~~~
foo.cc:36:14: warning: 'ans1' may be used uninitialized in this function [-Wmaybe-uninitialized]
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 7ms 804.0 KiB
#2 Accepted 9ms 916.0 KiB
#3 Accepted 9ms 584.0 KiB
#4 Accepted 9ms 544.0 KiB
#5 Accepted 8ms 544.0 KiB
#6 Accepted 11ms 544.0 KiB
#7 Accepted 7ms 540.0 KiB
#8 Accepted 8ms 540.0 KiB
#9 Accepted 8ms 544.0 KiB
#10 Accepted 8ms 560.0 KiB

信息

递交者
类型
递交
题目
P1015 因数
语言
C++
递交时间
2021-02-07 01:20:42
评测时间
2021-02-07 01:20:42
评测机
分数
100
总耗时
90ms
峰值内存
916.0 KiB