Borderou de evaluare (job #2060959)

Utilizator mari2001Maria Ionescu mari2001 Data 8 noiembrie 2017 20:18:42
Problema Speculum Status done
Runda Arhiva ACM Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘long long int solve(int, int, int, int, int)’: user.cpp:15:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<v.size();i++) ^ user.cpp:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<v.size();i++) ^ user.cpp:33:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<v.size();i++){ ^ user.cpp: In function ‘int main()’: user.cpp:52:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("speculum.in","r",stdin); ^ user.cpp:53:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("speculum.out","w",stdout); ^ user.cpp:56:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:58:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&x1,&y1,&x2,&y2); ^ user.cpp: In function ‘long long int solve(int, int, int, int, int)’: user.cpp:48:1: warning: ‘cadran’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (cadran==4) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms468kbOK100
Punctaj total100

Ceva nu functioneaza?