Borderou de evaluare (job #2120203)

Utilizator OlivianOlivian Dan Cretu Olivian Data 2 februarie 2018 02:41:31
Problema Incurcatura Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int cautbin(int, int)’: user.cpp:23:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(index>=v[nod].size()) continue; ^ user.cpp: In function ‘int main()’: user.cpp:53:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<v[i].size();j++) ^ user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("incurcatura.in","r",stdin); ^ user.cpp:32:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("incurcatura.out","w",stdout); ^ user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&p); ^ user.cpp:34:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr[i]); ^ user.cpp:41:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1928kbOK10
24ms1988kbOK10
3136ms3880kbOK10
4236ms5072kbOK10
50ms1904kbOK10
644ms2636kbIncorect0
760ms2724kbOK10
8228ms5072kbOK10
9264ms5460kbOK10
10300ms5860kbOK10
Punctaj total90

Ceva nu functioneaza?