1 条题解

  • 0
    @ 2025-4-14 18:43:48

    C :

    #include <stdio.h>
    int main ()
    {
    	//freopen("a.in","r",stdin);
    	//freopen("a.out","w",stdout);
    	int n;
    	while(scanf("%d",&n) != EOF)
    	{
    		printf("%o\n",n);
    	}
    	return 0;
    }
    

    C++ :

    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n;
        while(~scanf("%d",&n)){
            printf("%o\n",n);
        }
        return 0;
    }
    
    
    • 1

    信息

    ID
    3349
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者