Pagini recente » Borderou de evaluare (job #1147636) | Borderou de evaluare (job #1972440) | Borderou de evaluare (job #1751143) | Borderou de evaluare (job #986629) | Borderou de evaluare (job #1444834)
Borderou de evaluare (job #1444834)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&W);
^
user.cpp:55: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:56:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:59:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&W);
^
user.cpp:63:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&cel);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 7756kb | Time limit exceeded. | 0 |
Punctaj total | 0 |