Pagini recente » Borderou de evaluare (job #1531227) | Borderou de evaluare (job #751267) | Borderou de evaluare (job #207017) | Borderou de evaluare (job #3254040) | Borderou de evaluare (job #1536603)
Borderou de evaluare (job #1536603)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%lld%ld",&n,&k);
^
user.cpp:37:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:38:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:41:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
user.cpp:44:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%ld",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 384ms | 8072kb | Incorect | 0 |
Punctaj total | 0 |