1 条题解

  • 0
    @ 2025-9-9 23:46:57

    C :

    #include<stdio.h>
    
    int main()
    {
    	int a;
    	scanf("%d",&a);
    	if(a%3==0){
    		printf("yes");
    	}
    	return 0;
    }
    

    C++ :

    #include <iostream> 
    #include <cstdio>
    using namespace std;
    int main()
    {
    	int x;
    	cin>>x;
    	if(x%3 == 0)
    	{
    		cout<<"yes"<<endl;
    	}
    	else
    	{
    // 		cout<<"no"<<endl;
    	}
    	return 0;
    }
    
    • 1

    信息

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