Borderou de evaluare (job #1478014)

Utilizator cojocarugabiReality cojocarugabi Data 27 august 2015 15:59:47
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:117: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:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&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
140ms31740kbOK10
272ms32536kbOK10
372ms32540kbOK10
4180ms39568kbIncorect0
5176ms39568kbIncorect0
6156ms39564kbIncorect0
7184ms39568kbIncorect0
8176ms39568kbIncorect0
9180ms39568kbIncorect0
1040ms31736kbOK10
Punctaj total40

Ceva nu functioneaza?