Borderou de evaluare (job #1477998)

Utilizator cojocarugabiReality cojocarugabi Data 27 august 2015 15:45:33
Problema Ksecv4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:121:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for (int i = 0;i < m;++i) scanf("%I64d",a+i); ^ user.cpp:122:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for (int i = 0;i < m;++i) scanf("%I64d",b+i); ^ user.cpp:118:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksecv4.in","r",stdin); ^ user.cpp:119:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ksecv4.out","w",stdout); ^ user.cpp:120:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&k,&m); ^ user.cpp:121:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i = 0;i < m;++i) scanf("%I64d",a+i); ^ user.cpp:122:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i = 0;i < m;++i) scanf("%I64d",b+i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms31716kbOK10
272ms32516kbOK10
372ms32524kbOK10
4168ms39548kbIncorect0
5168ms39548kbIncorect0
6168ms39552kbIncorect0
7164ms39544kbIncorect0
8164ms39548kbIncorect0
9168ms39544kbIncorect0
1040ms31712kbOK10
Punctaj total40

Ceva nu functioneaza?