0 分??

P1046 [NOIP2005 普及组] 陶陶摘苹果

limoxuan0712 @ 2024-10-28 20:58:19

啊啊啊!!! 啊啊啊!!! The 0 score!!!! 0 分?????


by lty2023 @ 2024-10-28 21:02:45

code? @limoxuan0712


by SbsbsB_ @ 2024-11-24 13:06:42

@limoxuan0712 发代码


by limoxuan0712 @ 2024-12-05 19:59:11

感谢您们的关注 已经AC了 回复代码:

#include<bits/stdc++.h>
using namespace std;
int main(){
    cout<<"   **        **  "<<endl;
    cout<<"  *  *      *  * "<<endl; 
    cout<<" *    *    *    *"<<endl;
    cout<<"                 "<<endl;
    cout<<"                 "<<endl;
    cout<<"                 "<<endl;
    cout<<"                 "<<endl;
    cout<<"    **      **   "<<endl;
    cout<<"     **    **   "<<endl;
    cout<<"       ****   "<<endl;
    return 0;
} 

by xyw1212 @ 2024-12-23 15:31:53

@limoxuan0712 . . . . . .


by limoxuan0712 @ 2024-12-28 13:56:10

这个就是我的0score代码:

#include<iostream>
using namespace std;
int a[9]; 
int main(){
    for(int i = 0;i<=9;i++){
        cin>>a[i];
    }
    int b,sum=0;
    cin>>b;
    for(int i=0;i<=9;i++){
        b+=30;
        if (b>=a[i]) sum++;
    }
    cout<<sum<<endl;
    return 0;
}

这个是我的AC代码:

#include<iostream>
using namespace std;
int a[10];
int main(){
    for(int i=1;i<=10;i++){
        cin>>a[i];
    }
    int tt,sum=0;
    cin>>tt;
    tt+=30;
    for(int j=1;j<=10;j++){
        if(tt>=a[j])sum++;
        else continue;
    }
    cout<<sum<<endl;
    return 0;
}

警示后人!!!!


|