Pagini recente » Borderou de evaluare (job #2432337) | Borderou de evaluare (job #2548014) | Borderou de evaluare (job #1283614) | Borderou de evaluare (job #1662067) | Borderou de evaluare (job #2062842)
Borderou de evaluare (job #2062842)
Raport evaluator
Compilare:
user.cpp: In member function ‘void myBitset::setSize(int)’:
user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (val.size () <= maxSize) val.push_back (0);
^
user.cpp: In member function ‘int myBitset::getSmallestNonZero()’:
user.cpp:25:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<val.size (); i++)
^
user.cpp: In function ‘myBitset operator<<(myBitset, int)’:
user.cpp:56:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=big; k<fin.val.size () && k - big < init.val.size (); k++)
^
user.cpp:56:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=big; k<fin.val.size () && k - big < init.val.size (); k++)
^
user.cpp: In function ‘myBitset operator>>(myBitset, int)’:
user.cpp:65:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=0; k<init.val.size () - 1; k++)
^
user.cpp:68:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=0; k<fin.val.size () && k + big < init.val.size (); k++)
^
user.cpp:68:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=0; k<fin.val.size () && k + big < init.val.size (); k++)
^
user.cpp: In function ‘void operator|=(myBitset&, myBitset)’:
user.cpp:75:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<min (x.val.size (), y.val.size ()); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:145:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("armate.in", "r", stdin);
^
user.cpp:146:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("armate.out", "w", stdout);
^
user.cpp:148:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &N, &Q);
^
user.cpp:150:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i]);
^
user.cpp:156:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 472kb | OK | 5 | 5 |
2 | 0ms | 476kb | OK | 5 | 5 |
3 | 0ms | 480kb | Incorect | 0 | 0 |
4 | 0ms | 472kb | Incorect | 0 | 0 |
5 | 4ms | 492kb | Incorect | 0 | 0 |
6 | 0ms | 488kb | Incorect | 0 | 0 |
7 | 20ms | 520kb | Incorect | 0 | 0 |
8 | 16ms | 520kb | Incorect | 0 |
9 | 28ms | 536kb | Incorect | 0 |
10 | 24ms | 540kb | Incorect | 0 |
11 | 12ms | 516kb | Incorect | 0 |
12 | 28ms | 536kb | Incorect | 0 |
13 | 132ms | 1076kb | Incorect | 0 | 0 |
14 | 228ms | 1820kb | Incorect | 0 |
15 | 164ms | 1324kb | Incorect | 0 |
16 | 232ms | 1820kb | Incorect | 0 |
17 | 404ms | 3540kb | Incorect | 0 | 0 |
18 | 324ms | 2856kb | Incorect | 0 |
19 | 400ms | 3544kb | Incorect | 0 |
20 | 208ms | 2068kb | Incorect | 0 |
Punctaj total | 10 |