QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#278374#7733. Cool, It’s Yesterday Four Times Moreucup-team1888#Compile Error//C++143.0kb2023-12-07 15:17:262023-12-07 15:17:26

Details

answer.code:1:42: warning: bad option ‘-fofast’ to pragma ‘optimize’ [-Wpragmas]
    1 | #pragma GCC optimize(3, "ofast", "inline")
      |                                          ^
answer.code:14:39: warning: bad option ‘-fofast’ to attribute ‘optimize’ [-Wattributes]
   14 | void dfs(int i,int j,int aimi,int aimj){
      |                                       ^
answer.code: In function ‘void dfs(long long int, long long int, long long int, long long int)’:
answer.code:28:12: error: too many arguments to function ‘void dfs(long long int, long long int, long long int, long long int)’
   28 |         dfs(i+dir[d][0],j+dir[d][1],aimi+dir[d][0],aimj+dir[d][1],vis);
      |         ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:14:6: note: declared here
   14 | void dfs(int i,int j,int aimi,int aimj){
      |      ^~~
answer.code: At global scope:
answer.code:48:12: warning: bad option ‘-fofast’ to attribute ‘optimize’ [-Wattributes]
   48 | void solve(){
      |            ^
answer.code: In function ‘void solve()’:
answer.code:66:24: error: too many arguments to function ‘void dfs(long long int, long long int, long long int, long long int)’
   66 |                     dfs(i,j,aimi,aimj,vis);
      |                     ~~~^~~~~~~~~~~~~~~~~~~
answer.code:14:6: note: declared here
   14 | void dfs(int i,int j,int aimi,int aimj){
      |      ^~~
answer.code: At global scope:
answer.code:90:13: warning: bad option ‘-fofast’ to attribute ‘optimize’ [-Wattributes]
   90 | signed main(){
      |             ^