UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#212559#3840. 布朗运动(motion)AaronCompile Error//C++488b2024-10-19 11:29:332024-10-19 12:35:23

answer

#include<bits/stdc++.h>
//#include<windows.h>
using namespace std;
typedef long long ll;
typedef unsigned long long sll;
const int mod=1e9+7,INF=0x3f3f3f3f;
const long double pie=acos(-1);
#define dist(x1,y1,x2,y2) sqrt( ((x1)-(x2))*((x1)-(x2) + ((y1)-(y2))*((y1)-(y2) ) )
//#define KEY_DOWN(VK_NONAME)((GetAsyncKeyState(VK_NONAME)& 0x8000)? 1:0)

signed main(){
    int n;
    cin>>>n;
    if(n==2)
        cout<<"4/5";
    else
        cout<<"10/13";
    return 0;
}

详细

answer.code: In function 'int main()':
answer.code:13:10: error: expected primary-expression before '>' token
     cin>>>n;\x0d
          ^