Pagini recente » Borderou de evaluare (job #2241234) | Cod sursa (job #627872) | Borderou de evaluare (job #2077015) | Borderou de evaluare (job #2191910) | Borderou de evaluare (job #2062851)
Borderou de evaluare (job #2062851)
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:57: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:57: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:66:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=0; k<init.val.size () - 1; k++)
^
user.cpp:69: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:69: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:76: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:146: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:147: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:149: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:151:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i]);
^
user.cpp:157: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 | 476kb | OK | 5 | 5 |
| 2 | 0ms | 472kb | OK | 5 | 5 |
| 3 | 0ms | 476kb | Incorect | 0 | 0 |
| 4 | 0ms | 480kb | Incorect | 0 | 0 |
| 5 | 4ms | 484kb | Incorect | 0 | 0 |
| 6 | 0ms | 488kb | Incorect | 0 | 0 |
| 7 | 20ms | 520kb | Incorect | 0 | 0 |
| 8 | 16ms | 512kb | Incorect | 0 |
| 9 | 28ms | 544kb | Incorect | 0 |
| 10 | 24ms | 540kb | Incorect | 0 |
| 11 | 12ms | 512kb | Incorect | 0 |
| 12 | 28ms | 540kb | Incorect | 0 |
| 13 | 132ms | 1048kb | Incorect | 0 | 0 |
| 14 | 228ms | 1824kb | Incorect | 0 |
| 15 | 168ms | 1456kb | Incorect | 0 |
| 16 | 236ms | 1832kb | Incorect | 0 |
| 17 | 408ms | 3540kb | Incorect | 0 | 0 |
| 18 | 324ms | 2864kb | Incorect | 0 |
| 19 | 404ms | 3548kb | Incorect | 0 |
| 20 | 212ms | 2076kb | Incorect | 0 |
| Punctaj total | 10 |