Pagini recente » Borderou de evaluare (job #2465497) | Borderou de evaluare (job #1162932) | Borderou de evaluare (job #1080922) | Borderou de evaluare (job #2860000) | Borderou de evaluare (job #1569135)
Borderou de evaluare (job #1569135)
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:52: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:53: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:55: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 | Depăşit | 22356kb | Time limit exceeded. | 0 |
Punctaj total | 0 |