/ Vijos /

记录详情

Accepted

/in/foo.c:1:16: warning: return type defaults to 'int' [-Wimplicit-int]
 long long a, b;main(){scanf("%lld%lld", &a, &b);printf("%lld\n", a * b - a - b);}
                ^~~~
/in/foo.c: In function 'main':
/in/foo.c:1:23: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 long long a, b;main(){scanf("%lld%lld", &a, &b);printf("%lld\n", a * b - a - b);}
                       ^~~~~
/in/foo.c:1:23: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:1:23: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:1:49: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 long long a, b;main(){scanf("%lld%lld", &a, &b);printf("%lld\n", a * b - a - b);}
                                                 ^~~~~~
/in/foo.c:1:49: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:1:49: note: include '<stdio.h>' or provide a declaration of 'printf'
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Accepted 2ms 256.0 KiB
#10 Accepted 2ms 256.0 KiB
#11 Accepted 2ms 256.0 KiB
#12 Accepted 2ms 256.0 KiB
#13 Accepted 2ms 256.0 KiB
#14 Accepted 3ms 256.0 KiB
#15 Accepted 2ms 256.0 KiB
#16 Accepted 3ms 256.0 KiB
#17 Accepted 2ms 256.0 KiB
#18 Accepted 2ms 256.0 KiB
#19 Accepted 2ms 256.0 KiB
#20 Accepted 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P2028 小凯的疑惑
语言
C
递交时间
2017-11-11 15:12:34
评测时间
2017-11-11 15:12:34
评测机
分数
100
总耗时
55ms
峰值内存
256.0 KiB