Borderou de evaluare (job #1477984)

Utilizator cojocarugabiReality cojocarugabi Data 27 august 2015 15:32:43
Problema Ksecv4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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",a+i); ^ user.cpp:124: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:120: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:121: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:122: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: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",a+i); ^ user.cpp:124: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
140ms31720kbIncorect0
264ms32524kbIncorect0
364ms32528kbIncorect0
4164ms39544kbIncorect0
5172ms39544kbIncorect0
6168ms39548kbIncorect0
7168ms39544kbIncorect0
8168ms39544kbIncorect0
9168ms39552kbIncorect0
1040ms31716kbIncorect0
Punctaj total0

Ceva nu functioneaza?