Pagini recente » Borderou de evaluare (job #285323) | Borderou de evaluare (job #1110157) | Borderou de evaluare (job #2193185) | Borderou de evaluare (job #2473150) | Borderou de evaluare (job #1947296)
Borderou de evaluare (job #1947296)
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 |
1 | 0ms | 1100kb | OK | 10 |
2 | 0ms | 1104kb | OK | 10 |
3 | 4ms | 1156kb | OK | 10 |
4 | 92ms | 2524kb | OK | 10 |
5 | 148ms | 2164kb | OK | 10 |
6 | 272ms | 2292kb | OK | 10 |
7 | 416ms | 2500kb | OK | 10 |
8 | 148ms | 2108kb | OK | 10 |
9 | Depăşit | 2300kb | Time limit exceeded. | 0 |
10 | 372ms | 2292kb | OK | 10 |
Punctaj total | 90 |