/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:7:28: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
    7 |         for(long long j=1;j<=k;j++){
      |                           ~^~~
foo.cc:8:36: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
    8 |                 for(long long w=1;w<=k;w++){
      |                                   ~^~~
foo.cc:10:45: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
   10 |                                 if((w*w+j*j)>ans){
      |                                    ~~~~~~~~~^~~~
foo.cc:5:28: warning: unused variable 'm' [-Wunused-variable]
    5 |         unsigned long long m,n,k,ans=0;
      |                            ^
foo.cc:5:30: warning: unused variable 'n' [-Wunused-variable]
    5 |         unsigned long long m,n,k,ans=0;
      |                              ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 7ms 332.0 KiB
#3 Time Exceeded ≥1101ms ≥284.0 KiB
#4 Time Exceeded ≥1100ms ≥284.0 KiB
#5 Time Exceeded ≥1100ms ≥284.0 KiB
#6 Time Exceeded ≥1100ms ≥284.0 KiB
#7 Time Exceeded ≥1101ms ≥284.0 KiB
#8 Time Exceeded ≥1100ms ≥284.0 KiB
#9 Time Exceeded ≥1101ms ≥284.0 KiB
#10 Time Exceeded ≥1102ms ≥284.0 KiB

信息

递交者
类型
递交
题目
P1543 极值问题
语言
C++
递交时间
2023-05-15 19:02:50
评测时间
2023-05-15 19:02:50
评测机
分数
20
总耗时
≥8819ms
峰值内存
≥332.0 KiB