Submission #3844291


Source Code Expand

#include<iostream>
#include<cstdio>
using namespace std;
void work()
{
	int i,j,k;
	for(i=1;i<=9;i++)
	{
		printf("%d\n",i);
		for(j=0;j<=9;j++)
		{
			printf("%d%d\n",i,j);
			for(k=0;k<=9;k++)
			{
				printf("%d%d%d\n",i,j,k);
				if(i==1&&j==0&&k==0)
				{
					printf("1000\n");
				}
			}
		}	
	}
	return;
}
int main()
{ 
	work();
	return 0;
}

Submission Info

Submission Time
Task A - 天下一序数
User luogu_bot1
Language C++ (GCC 5.4.1)
Score 20
Code Size 377 Byte
Status AC
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name All
Score / Max Score 20 / 20
Status
AC × 1
Set Name Test Cases
All output-only.txt
Case Name Status Exec Time Memory
output-only.txt AC 1 ms 256 KB