QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#439543#8788. Page on vdome.com233LAC ✓0ms3668kbC++14696b2024-06-12 09:31:582024-06-12 09:31:58

Judging History

你现在查看的是最新测评结果

  • [2024-06-12 09:31:58]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3668kb
  • [2024-06-12 09:31:58]
  • 提交

answer

#include<bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define uint unsigned int
#define ldb long double
#define pii pair<int,int>
#define mkp make_pair
#define mkt make_tuple
#define fr first
#define se second
#define uset unordered_set
#define umap unordered_map
#define pqueue priority_queue
#define all(_box) _box.begin(),_box.end()
#define ppc __builtin_popcount
#define ctz __builtin_ctz
#define clz __builtin_clz
#define lbd lower_bound
#define ubd upper_bound
#define deb(x) cerr<<#x<<'='<<(x)<<' '
using namespace std;

int main(){
    ios::sync_with_stdio(0);
    cin.tie(0),cout.tie(0);

    int x;
    cin>>x;
    cout<<min(x+1,10);
}

这程序好像有点Bug,我给组数据试试?

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3640kb

input:

5

output:

6

result:

ok 1 number(s): "6"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

10

output:

10

result:

ok 1 number(s): "10"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

9

output:

10

result:

ok 1 number(s): "10"

Test #4:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

1

output:

2

result:

ok 1 number(s): "2"

Test #5:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

2

output:

3

result:

ok 1 number(s): "3"

Test #6:

score: 0
Accepted
time: 0ms
memory: 3484kb

input:

4

output:

5

result:

ok 1 number(s): "5"

Test #7:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

11

output:

10

result:

ok 1 number(s): "10"

Test #8:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

19

output:

10

result:

ok 1 number(s): "10"

Test #9:

score: 0
Accepted
time: 0ms
memory: 3668kb

input:

20

output:

10

result:

ok 1 number(s): "10"

Test #10:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

99

output:

10

result:

ok 1 number(s): "10"

Test #11:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

100

output:

10

result:

ok 1 number(s): "10"

Test #12:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

101

output:

10

result:

ok 1 number(s): "10"

Test #13:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

110

output:

10

result:

ok 1 number(s): "10"

Test #14:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

12345

output:

10

result:

ok 1 number(s): "10"

Test #15:

score: 0
Accepted
time: 0ms
memory: 3548kb

input:

123456789

output:

10

result:

ok 1 number(s): "10"

Test #16:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

584392706

output:

10

result:

ok 1 number(s): "10"

Test #17:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

987654321

output:

10

result:

ok 1 number(s): "10"

Test #18:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

1000000000

output:

10

result:

ok 1 number(s): "10"

Extra Test:

score: 0
Extra Test Passed