Pagini recente » Borderou de evaluare (job #2227014) | Borderou de evaluare (job #99286) | Borderou de evaluare (job #557750) | Borderou de evaluare (job #2490614) | Borderou de evaluare (job #1485480)
Borderou de evaluare (job #1485480)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<int> gensubsir(std::vector<bool>, int)’:
user.cpp:13:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i = 0; i < bitmask.size(); ++ i)
^
user.cpp: In function ‘bool next(std::vector<bool>&)’:
user.cpp:26:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i < bitmask.size() and bitmask[i] ) {
^
user.cpp:31:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i < bitmask.size()) {
^
user.cpp: In function ‘bool compact(std::vector<int>)’:
user.cpp:52:12: warning: statement has no effect [-Wunused-value]
for( st; st <= MAX_N; ++ st) {
^
user.cpp:54:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(count == pf.size())
^
user.cpp: In function ‘int main()’:
user.cpp:103:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(supercompact(vt) and vt.size() > maxim)
^
user.cpp: In function ‘bool compact(std::vector<int>)’:
user.cpp:59:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:91:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compact2.in", "r", stdin);
^
user.cpp:92:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compact2.out", "w", stdout);
^
user.cpp:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:96:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | Depăşit | 292kb | Time limit exceeded. | 0 | 0 |
✗ | 2 | Depăşit | 300kb | Time limit exceeded. | 0 | 0 |
✓ | 3 | Depăşit | 304kb | Time limit exceeded. | 0 | 0 |
✗ | 4 | Depăşit | 532kb | Time limit exceeded. | 0 | 0 |
✗ | 5 | Depăşit | 600kb | Time limit exceeded. | 0 |
✗ | 6 | Depăşit | 724kb | Time limit exceeded. | 0 |
✗ | 7 | Depăşit | 4464kb | Time limit exceeded. | 0 | 0 |
✗ | 8 | Depăşit | 4444kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 4440kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 4444kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 0 |