제출 #1202301

#제출 시각아이디문제언어결과실행 시간메모리
1202301jk410Magic Show (APIO24_show)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include "Alice.h" using namespace std; typedef long long ll; vector<pair<int,int>> Alice(){ ll x = setN(5000); vector<pair<int,int>> ret; for (int i=2; i<=5000; i++) ret.push_back({i,x%i+1}); return ret; }
#include <bits/stdc++.h> #include "Bob.h" using namespace std; typedef long long ll; ll Bob(vector<pair<int,int>> v){ ll x=0,m=1; for (auto i:v){ ll n=i.second,r=i.first-1; while (x%n!=r) x+=m; m*=n/__gcd(m,n); if (m>) } return x; }

컴파일 시 표준 에러 (stderr) 메시지

# 2번째 컴파일 단계

Bob.cpp: In function 'll Bob(std::vector<std::pair<int, int> >)':
Bob.cpp:12:15: error: expected primary-expression before ')' token
   12 |         if (m>)
      |               ^
Bob.cpp:13:5: error: expected primary-expression before '}' token
   13 |     }
      |     ^