Borderou de evaluare (job #1477994)

Utilizator cojocarugabiReality cojocarugabi Data 27 august 2015 15:42:17
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: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",a+i); ^ user.cpp:123: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:119: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:120: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:121: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: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",a+i); ^ user.cpp:123: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
140ms31732kbOK10
272ms32536kbOK10
372ms32532kbOK10
4168ms39560kbIncorect0
5168ms39564kbIncorect0
6164ms39564kbIncorect0
7160ms39564kbIncorect0
8164ms39564kbIncorect0
9168ms39564kbIncorect0
1040ms31724kbOK10
Punctaj total40

Ceva nu functioneaza?