QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#562136#8934. Challenge NPCucup-team3160#WA 16ms5184kbC++14438b2024-09-13 15:16:302024-09-13 15:16:30

Judging History

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

  • [2024-09-13 15:16:30]
  • 评测
  • 测评结果:WA
  • 用时:16ms
  • 内存:5184kb
  • [2024-09-13 15:16:30]
  • 提交

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 +1 ; 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: 16ms
memory: 5184kb

input:

1

output:

1024 262144 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