/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(long long j=1;j<=k;j++){
                    ~^~~
/in/foo.cc:8:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(long long w=1;w<=k;w++){
                     ~^~~
/in/foo.cc:10:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if((w*w+j*j)>ans){
        ~~~~~~~~~^~~~
/in/foo.cc:5:21: warning: unused variable 'm' [-Wunused-variable]
  unsigned long long m,n,k,ans=0;
                     ^
/in/foo.cc:5:23: warning: unused variable 'n' [-Wunused-variable]
  unsigned long long m,n,k,ans=0;
                       ^
# 状态 耗时 内存占用
#1 Accepted 1ms 336.0 KiB
#2 Wrong Answer 1ms 324.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 324.0 KiB
#5 Wrong Answer 1ms 376.0 KiB
#6 Wrong Answer 1ms 332.0 KiB
#7 Wrong Answer 1ms 376.0 KiB
#8 Wrong Answer 1ms 376.0 KiB
#9 Wrong Answer 1ms 340.0 KiB
#10 Wrong Answer 1ms 332.0 KiB

信息

递交者
类型
递交
题目
P1543 极值问题
语言
C++
递交时间
2023-05-15 19:04:32
评测时间
2023-05-15 19:04:32
评测机
分数
10
总耗时
16ms
峰值内存
376.0 KiB