Pagini recente » Borderou de evaluare (job #881039) | Borderou de evaluare (job #1093673) | Borderou de evaluare (job #2136846) | Borderou de evaluare (job #491334) | Borderou de evaluare (job #1300843)
Borderou de evaluare (job #1300843)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44: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:38: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:39: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:44: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:46: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 | 428ms | 4164kb | Incorect | 0 |
Punctaj total | 0 |