QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#562132#8934. Challenge NPCucup-team3160#WA 20ms5120kbC++14438b2024-09-13 15:15:452024-09-13 15:15:48

Judging History

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

  • [2024-09-13 15:15:48]
  • 评测
  • 测评结果:WA
  • 用时:20ms
  • 内存:5120kb
  • [2024-09-13 15:15:45]
  • 提交

answer

# include <bits/stdc++.h>

using namespace std ;

vector < pair< int , int > > eg ;
const int N= 1024 ;
int main()
{
	for ( int i = 1 ; i <= N ; i++)
		for ( int j = i +2 ; j <= N ; j+= 2 ) 
			eg.push_back( { i , j } ) ;
	printf("%d %d %d\n" , N, eg.size() , 2 ) ;
	for ( int i = 1 ; i <= N ; i++ )
		printf("%d " , ( i & 1 ) + 1 ) ;
	puts("") ;
	for ( auto t :eg ) printf("%d %d\n" , t.first , t.second) ;
	return 0 ;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 20ms
memory: 5120kb

input:

1

output:

1024 261632 2
2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 ...

result:

wrong answer The graph is not correct