/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'long long unsigned int cnt(long long unsigned int)':
foo.cc:10:23: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
   10 |     for (int i = 1; i <=n; i++) {
      |                     ~~^~~
foo.cc: In function 'int main()':
foo.cc:22:12: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long unsigned int*' [-Wformat=]
   22 |    scanf("%d",&n);
      |           ~^  ~~
      |            |  |
      |            |  long long unsigned int*
      |            int*
      |           %lld
foo.cc:25:27: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
   25 |         for (int i = 1; i <=n; i++) {
      |                         ~~^~~
foo.cc:28:15: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
   28 |         if ( c== n) {
      |              ~^~~~
foo.cc:22:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   22 |    scanf("%d",&n);
      |    ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1099ms ≥384.0 KiB
#2 Time Exceeded ≥1098ms ≥256.0 KiB
#3 Time Exceeded ≥1100ms ≥256.0 KiB
#4 Time Exceeded ≥1100ms ≥256.0 KiB
#5 Time Exceeded ≥1100ms ≥384.0 KiB
#6 Time Exceeded ≥1099ms ≥256.0 KiB
#7 Time Exceeded ≥1100ms ≥384.0 KiB
#8 Time Exceeded ≥1100ms ≥256.0 KiB
#9 Time Exceeded ≥1100ms ≥384.0 KiB
#10 Time Exceeded ≥1097ms ≥384.0 KiB

信息

递交者
类型
递交
题目
P1229 分解因式
语言
C++
递交时间
2022-03-28 10:32:26
评测时间
2022-03-28 10:32:26
评测机
分数
0
总耗时
≥10999ms
峰值内存
≥384.0 KiB