编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#69075 #1253. 开课通知 Wrong Answer 27 591 ms 6420 K C++ (NOI) / 672 B 小雏菊状的玫瑰花结 2022-04-24 21:03:52
显示原始代码
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <set>
using namespace std;
vector<int> g[100005];
int main() {
    int n, m;
    int x;
    set<int> S;
    cin >> n >> m;

    for (int i = 1; i <= n; i++) {
        for (int j = 1; j <= m; j++) {
            cin >> x;
            g[i].push_back(x);
        }
    }
    int ans = n;
    for (int j = 0; j < m; j++) {
        bool flag = 0;
        int first = 0;
        int sum = 0;
        for (int i = 1; i <= n; i++) {
            sum += g[i][j];
            if (flag == 0 && g[i][j] == 1) {
                first = i;
                flag = 1;
            }
            if (sum > 1)
                break;
        }
        if (sum == 1 && first != 0)
            S.insert(first);
    }
    cout << n - S.size() << endl;

    return 0;
}
子任务 #1
Wrong Answer
得分:26
测试点 #1
Wrong Answer
得分:0
用时:21 ms
内存:5400 KiB

输入文件(1.in

1000 1000
00000000000000000000000000000000000000000000000000000000000000000000000100000000000000000
<1001911 bytes omitted>

答案文件(1.out

553

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #2
Wrong Answer
得分:0
用时:21 ms
内存:5376 KiB

输入文件(2.in

1000 1000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1001911 bytes omitted>

答案文件(2.out

390

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #3
Wrong Answer
得分:0
用时:22 ms
内存:5364 KiB

输入文件(3.in

1000 1000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1001911 bytes omitted>

答案文件(3.out

570

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #4
Wrong Answer
得分:0
用时:23 ms
内存:5376 KiB

输入文件(4.in

1000 1000
00000000000000000000000000000000000000000000000000000000000000000000000000000000010000000
<1001911 bytes omitted>

答案文件(4.out

898

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #5
Wrong Answer
得分:0
用时:20 ms
内存:5320 KiB

输入文件(5.in

1000 1000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1001911 bytes omitted>

答案文件(5.out

959

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #6
Wrong Answer
得分:0
用时:22 ms
内存:5332 KiB

输入文件(6.in

1000 1000
00000000000000000000000000000000000000000000000000000000000000000000000000000000010000000
<1001911 bytes omitted>

答案文件(6.out

985

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #7
Wrong Answer
得分:0
用时:19 ms
内存:5376 KiB

输入文件(7.in

1000 1000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1001911 bytes omitted>

答案文件(7.out

992

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #8
Wrong Answer
得分:0
用时:22 ms
内存:5380 KiB

输入文件(8.in

1000 1000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
<1001911 bytes omitted>

答案文件(8.out

995

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #9
Accepted
得分:100
用时:21 ms
内存:5312 KiB

输入文件(9.in

1000 1000
00000000000000000000000000000000000000000100000000000000000000000000000000000000000000000
<1001911 bytes omitted>

答案文件(9.out

1000

用户输出

1000

系统信息

Exited with return code 0
测试点 #10
Wrong Answer
得分:0
用时:19 ms
内存:5376 KiB

输入文件(10.in

1000 1000
00000000000000010000000000000000000000000000000000000000000000000000000000000000000000000
<1001911 bytes omitted>

答案文件(10.out

998

用户输出

1000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #11
Wrong Answer
得分:0
用时:15 ms
内存:2124 KiB

输入文件(11.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(11.out

9998

用户输出

10000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #12
Wrong Answer
得分:0
用时:15 ms
内存:2020 KiB

输入文件(12.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(12.out

9997

用户输出

9999

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #13
Accepted
得分:100
用时:13 ms
内存:2048 KiB

输入文件(13.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(13.out

10000

用户输出

10000

系统信息

Exited with return code 0
测试点 #14
Wrong Answer
得分:0
用时:15 ms
内存:2056 KiB

输入文件(14.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(14.out

9999

用户输出

10000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #15
Accepted
得分:100
用时:15 ms
内存:1996 KiB

输入文件(15.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(15.out

10000

用户输出

10000

系统信息

Exited with return code 0
测试点 #16
Accepted
得分:100
用时:13 ms
内存:2048 KiB

输入文件(16.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(16.out

10000

用户输出

10000

系统信息

Exited with return code 0
测试点 #17
Accepted
得分:100
用时:15 ms
内存:2048 KiB

输入文件(17.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(17.out

10000

用户输出

10000

系统信息

Exited with return code 0
测试点 #18
Accepted
得分:100
用时:12 ms
内存:2104 KiB

输入文件(18.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(18.out

10000

用户输出

10000

系统信息

Exited with return code 0
测试点 #19
Accepted
得分:100
用时:13 ms
内存:2056 KiB

输入文件(19.in

10000 10
0000000000
0000000000
1000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(19.out

10000

用户输出

10000

系统信息

Exited with return code 0
测试点 #20
Accepted
得分:100
用时:13 ms
内存:2024 KiB

输入文件(20.in

10000 10
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
0000000000
000000
<119910 bytes omitted>

答案文件(20.out

10000

用户输出

10000

系统信息

Exited with return code 0
测试点 #21
Wrong Answer
得分:0
用时:29 ms
内存:6392 KiB

输入文件(21.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(21.out

4930

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #22
Wrong Answer
得分:0
用时:25 ms
内存:6384 KiB

输入文件(22.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(22.out

4922

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #23
Wrong Answer
得分:0
用时:26 ms
内存:6340 KiB

输入文件(23.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(23.out

4940

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #24
Wrong Answer
得分:0
用时:22 ms
内存:6400 KiB

输入文件(24.in

5000 200
000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(24.out

4944

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #25
Wrong Answer
得分:0
用时:23 ms
内存:6348 KiB

输入文件(25.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(25.out

4960

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #26
Wrong Answer
得分:0
用时:25 ms
内存:6392 KiB

输入文件(26.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(26.out

4967

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #27
Wrong Answer
得分:0
用时:21 ms
内存:6400 KiB

输入文件(27.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(27.out

4980

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #28
Wrong Answer
得分:0
用时:23 ms
内存:6400 KiB

输入文件(28.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(28.out

4980

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #29
Wrong Answer
得分:0
用时:23 ms
内存:6420 KiB

输入文件(29.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(29.out

4987

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #30
Wrong Answer
得分:0
用时:25 ms
内存:6392 KiB

输入文件(30.in

5000 200
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
<1009910 bytes omitted>

答案文件(30.out

4992

用户输出

5000

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0