Borderou de evaluare (job #1536513)
Raport evaluator
Compilare:
user.cpp: In function ‘void build(int, int, int)’:
user.cpp:24:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < ArbInt[pos*2].size() || j < ArbInt[pos*2+1].size()) {
^
user.cpp:24:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < ArbInt[pos*2].size() || j < ArbInt[pos*2+1].size()) {
^
user.cpp:25:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int val1 = (i == ArbInt[pos*2+0].size()) ? 0 : ArbInt[pos*2+0][i];
^
user.cpp:26:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int val2 = (j == ArbInt[pos*2+1].size()) ? 0 : ArbInt[pos*2+1][j];
^
user.cpp: In function ‘int main()’:
user.cpp:86:36: 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:87:36: 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:89:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.cpp:91:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &Points[i].x, &Points[i].y);
^
user.cpp:96:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &M);
^
user.cpp:98:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &X1, &Y1);
^
user.cpp:99:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &X2, &Y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1164kb | OK | 10 |
2 | 0ms | 1160kb | OK | 10 |
3 | 4ms | 1236kb | OK | 10 |
4 | 64ms | 2376kb | OK | 10 |
5 | 136ms | 2376kb | OK | 10 |
6 | 272ms | 2376kb | OK | 10 |
7 | 312ms | 2376kb | OK | 10 |
8 | 176ms | 2376kb | OK | 10 |
9 | 276ms | 2376kb | OK | 10 |
10 | 248ms | 2376kb | OK | 10 |
Punctaj total | 100 |