Borderou de evaluare (job #1498015)

Utilizator vlcmodanModan Valentin vlcmodan Data 7 octombrie 2015 21:22:33
Problema Joc 18 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long unsigned int cautare_binara(long long unsigned int, long long unsigned int, int)’: user.cpp:27:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(aux==p) ^ user.cpp:37:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(aux>p) ^ user.cpp:39:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(aux<p) ^ user.cpp: In function ‘int main()’: user.cpp:47:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d",&p); ^ user.cpp:49:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d\n",medie); ^ user.cpp: In function ‘long long unsigned int cautare_binara(long long unsigned int, long long unsigned int, int)’: user.cpp:42:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:45:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fact.in","r",stdin); ^ user.cpp:46:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fact.out","w",stdout); ^ user.cpp:47:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbFisier de iesire lipsa0
Punctaj total0

Ceva nu functioneaza?