Pagini recente » Borderou de evaluare (job #1707767) | Borderou de evaluare (job #921017) | Borderou de evaluare (job #1881217) | Borderou de evaluare (job #888334) | Borderou de evaluare (job #1445401)
Borderou de evaluare (job #1445401)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60: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:60: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:65: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 | 3012ms | 7764kb | Respect Maxim ! | 100 |
Punctaj total | 100 |