Pagini recente » Borderou de evaluare (job #952034) | Borderou de evaluare (job #1315271) | Borderou de evaluare (job #1603812) | Borderou de evaluare (job #497586) | Borderou de evaluare (job #1300799)
Borderou de evaluare (job #1300799)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (scanf("%d",&T);T;--T)
^
user.cpp:41:31: 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:42:33: 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:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d",&T);T;--T)
^
user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&N,&K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 424ms | 4168kb | Incorect | 0 |
Punctaj total | 0 |