QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#408342#800. Trianglessichengzhou#0 0ms0kbC++14762b2024-05-10 06:45:412024-05-10 06:45:50

Judging History

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

  • [2024-05-10 06:45:50]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:0kb
  • [2024-05-10 06:45:41]
  • 提交

answer

#include<bits/stdc++.h>
#include "trilib.h"
using namespace std;
int n;
int main()
{
    int ans=0;
    n=get_n();
    for(int i=1;i<=n;i++)
    {
        int x=i%n+1;
        for(int j=1;j<=n;j++)
        {
            if(j==x)
            {
                continue;
            }
            bool f=is_clockwise(x,i,j);
            if(f)
            {
                x=j;
            }
        }
        int cnt=0;
        for(int j=1;j<=n;j++)
        {
            if(j==x)
            {
                continue;
            }
            cnt+=is_clockwise(x,i,j);
        }
        if(cnt!=0&&cnt!=n-1)
        {
            
        }else{
            ans++;
        }
    }
    give_answer(ans);
    return 0;
}

详细

Subtask #1:

score: 0
Runtime Error

Test #1:

score: 0
Runtime Error

input:

3
-843737031 -842526876
951189384 673353567
-450418999 301219510

output:

Unauthorized output

result:


Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Runtime Error

Test #97:

score: 0
Runtime Error

input:

3
498999289 500164826
0 0
-501000711 1000000000

output:

Unauthorized output

result:


Subtask #5:

score: 0
Skipped

Dependency #1:

0%