Borderou de evaluare (job #1853588)

Utilizator andreey_047Andrei Maxim andreey_047 Data 21 ianuarie 2017 21:20:37
Problema Kami Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:90:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] scanf("%d ",&a[i]), ^ user.cpp:84:10: warning: unused variable ‘j’ [-Wunused-variable] int i,j,key,poz,val; ^ user.cpp:85:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kami.in","r",stdin); ^ user.cpp:86:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kami.out","w",stdout); ^ user.cpp:88:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&N); ^ user.cpp:91:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] Upd(i,a[i]); ^ user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&q); ^ user.cpp:101:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&key,&poz); ^ user.cpp:103:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms284kbOK1010
20ms340kbOK1010
3Depăşit6712kbTime limit exceeded.00
4156ms3272kbOK1010
5200ms3508kbOK1010
6200ms3508kbOK1010
7344ms6400kbOK100
8Depăşit6712kbTime limit exceeded.0
9Depăşit6716kbTime limit exceeded.0
10Depăşit6716kbTime limit exceeded.00
Punctaj total50

Ceva nu functioneaza?