Pagini recente » Borderou de evaluare (job #3037555) | Borderou de evaluare (job #2377331) | Borderou de evaluare (job #3124278) | Borderou de evaluare (job #3200131) | Borderou de evaluare (job #2062927)
Borderou de evaluare (job #2062927)
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:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=0; k + 1 < init.val.size (); 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 | 468kb | OK | 5 | 5 |
2 | 0ms | 472kb | OK | 5 | 5 |
3 | 0ms | 476kb | Incorect | 0 | 0 |
4 | 0ms | 480kb | Incorect | 0 | 0 |
5 | 4ms | 488kb | Incorect | 0 | 0 |
6 | 0ms | 484kb | Incorect | 0 | 0 |
7 | 20ms | 528kb | Incorect | 0 | 0 |
8 | 16ms | 516kb | Incorect | 0 |
9 | 28ms | 540kb | Incorect | 0 |
10 | 24ms | 540kb | Incorect | 0 |
11 | 16ms | 520kb | Incorect | 0 |
12 | 28ms | 536kb | Incorect | 0 |
13 | 132ms | 1064kb | Incorect | 0 | 0 |
14 | 228ms | 1832kb | Incorect | 0 |
15 | 168ms | 1452kb | Incorect | 0 |
16 | 236ms | 1832kb | Incorect | 0 |
17 | 412ms | 3540kb | Incorect | 0 | 0 |
18 | 328ms | 2868kb | Incorect | 0 |
19 | 408ms | 3548kb | Incorect | 0 |
20 | 212ms | 2080kb | Incorect | 0 |
Punctaj total | 10 |