|
|
back to boardCommon BoardToAdmins: Why Compilation Error? I got Compilation Error on Problem 1157. but the program compiles on my PC successfully. 064d5c7e-c5a2-44ff-8281-b4da9295d8af 064d5c7e-c5a2-44ff-8281-b4da9295d8af(23): error: declaration may not appear after executable statement in block int m,n,k,l,found; ^ compilation aborted for 064d5c7e-c5a2-44ff-8281-b4da9295d8af (code 2) ID: 2187407 -> Compilation Error 2187409 -> Compilation Error 2187411 -> Accepted Try to submit solution choosing C++ instead of C Re: Try to submit solution choosing C++ instead of C So, shall I know why is it like this? |
|
|