Pagini recente » Cod sursa (job #2100124) | Cod sursa (job #2899049) | Cod sursa (job #1401728) | Cod sursa (job #891885) | Borderou de evaluare (job #1569130)
Borderou de evaluare (job #1569130)
Raport evaluator
Compilare:
user.cpp: In function ‘int check(int)’:
user.cpp:26:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cnt<=W) return 1;
^
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:51: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:52: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:54: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 | 3092ms | 22352kb | Te-am blatuit! | 0 |
Punctaj total | 0 |