Borderou de evaluare (job #1853600)

Utilizator andreey_047Andrei Maxim andreey_047 Data 21 ianuarie 2017 21:28:57
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:92: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:93:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] Upd(i,a[i]); ^ user.cpp:101:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&q); ^ user.cpp:105: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:109: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
10ms288kbOK1010
20ms352kbOK1010
3Depăşit7492kbTime limit exceeded.00
4156ms3580kbOK1010
5204ms3904kbOK1010
6200ms3900kbOK1010
7340ms7188kbOK100
8Depăşit7492kbTime limit exceeded.0
9Depăşit7496kbTime limit exceeded.0
10Depăşit7492kbTime limit exceeded.00
Punctaj total50

Ceva nu functioneaza?