Borderou de evaluare (job #1947296)

Utilizator KusikaPasa Corneliu Kusika Data 30 martie 2017 21:31:24
Problema Zoo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘short int gety(int, int)’: user.cpp:20:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v < order[x].size() && order[x][v] == y) v++; ^ user.cpp: In function ‘short int get(int, int)’: user.cpp:27:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v < orderx.size() && orderx[v] == x) v++; ^ user.cpp: In function ‘short int update(int, int)’: user.cpp:35:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v < order[x].size() && order[x][v] == y) v++; ^ user.cpp:36:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (;v <= order[x].size(); v += (v & -v)) t[x][v-1]++; ^ user.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:41:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zoo.in","r",stdin); ^ user.cpp:42:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("zoo.out","w",stdout); ^ user.cpp:45:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] rep(i,0,n) scanf("%d %d", &P[i].X, &P[i].Y); ^ user.cpp:64:49: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1100kbOK10
20ms1104kbOK10
34ms1156kbOK10
492ms2524kbOK10
5148ms2164kbOK10
6272ms2292kbOK10
7416ms2500kbOK10
8148ms2108kbOK10
9Depăşit2300kbTime limit exceeded.0
10372ms2292kbOK10
Punctaj total90

Ceva nu functioneaza?