QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#562136 | #8934. Challenge NPC | ucup-team3160# | WA | 16ms | 5184kb | C++14 | 438b | 2024-09-13 15:16:30 | 2024-09-13 15:16:30 |
Judging History
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