Pagini recente » Borderou de evaluare (job #370451) | Borderou de evaluare (job #3149631) | Borderou de evaluare (job #183352) | Borderou de evaluare (job #2840116) | Borderou de evaluare (job #2062801)
Borderou de evaluare (job #2062801)
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:44:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=big; k<fin.val.size (); k++)
^
user.cpp: In function ‘myBitset operator>>(myBitset, int)’:
user.cpp:53:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=0; k<init.val.size () - 1; k++)
^
user.cpp:56:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k=0; k<fin.val.size (); k++)
^
user.cpp: In function ‘void operator|=(myBitset&, myBitset)’:
user.cpp:63: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:124: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:125: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:127: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:129:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i]);
^
user.cpp:133: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 | 480kb | OK | 5 | 5 |
2 | 0ms | 480kb | OK | 5 | 5 |
3 | 0ms | 488kb | Incorect | 0 | 0 |
4 | 0ms | 488kb | Incorect | 0 | 0 |
5 | 4ms | 496kb | Incorect | 0 | 0 |
6 | 0ms | 496kb | Incorect | 0 | 0 |
7 | 20ms | 528kb | Incorect | 0 | 0 |
8 | 16ms | 528kb | Incorect | 0 |
9 | 28ms | 548kb | Incorect | 0 |
10 | 24ms | 548kb | Incorect | 0 |
11 | 12ms | 528kb | Incorect | 0 |
12 | 28ms | 552kb | Incorect | 0 |
13 | 132ms | 1088kb | Incorect | 0 | 0 |
14 | 228ms | 1840kb | Incorect | 0 |
15 | 164ms | 1340kb | Incorect | 0 |
16 | 232ms | 1832kb | Incorect | 0 |
17 | 408ms | 3556kb | Incorect | 0 | 0 |
18 | 320ms | 2872kb | Incorect | 0 |
19 | 400ms | 3556kb | Incorect | 0 |
20 | 208ms | 2076kb | Incorect | 0 |
Punctaj total | 10 |