Pagini recente » Cod sursa (job #2800420) | Cod sursa (job #2250092) | Cod sursa (job #2123304) | Cod sursa (job #410082) | Borderou de evaluare (job #1569124)
Borderou de evaluare (job #1569124)
Raport evaluator
Compilare:
user.cpp: In function ‘int check(int)’:
user.cpp:22:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( dp[i+k-1][j+k-1]-dp[i-1][j-1]<=W && ds[i+k-1][j-k+2]-ds[i-1][j+2]<=W )
^
user.cpp:22:78: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( dp[i+k-1][j+k-1]-dp[i-1][j-1]<=W && ds[i+k-1][j-k+2]-ds[i-1][j+2]<=W )
^
user.cpp: In function ‘void read()’:
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&W);
^
user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu",&a[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.in","r",stdin);
^
user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatii.out","w",stdout);
^
user.cpp:49:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3236ms | 22352kb | Te-am blatuit! | 0 |
Punctaj total | 0 |