Pagini recente » Borderou de evaluare (job #1634521) | Borderou de evaluare (job #64541) | Borderou de evaluare (job #1783454) | Borderou de evaluare (job #2406888)
Borderou de evaluare (job #2406888)
Raport evaluator
Compilare:
main.cpp: In function 'bool ok(int)':
main.cpp:19:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if ((mask & i) == i && fr[i])
^
main.cpp: In function 'int main()':
main.cpp:57:46: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
fprintf(fout, "%d %u\n", mask, ans.size());
^
main.cpp:31:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &s);
^
main.cpp:35:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 518ms | 524kb | Corect! | 10 |
2 | 498ms | 524kb | Corect! | 10 |
3 | 518ms | 524kb | Corect! | 10 |
4 | 496ms | 524kb | Corect! | 10 |
5 | 520ms | 524kb | Corect! | 10 |
6 | 495ms | 524kb | Corect! | 10 |
7 | 1137ms | 524kb | Corect! | 10 |
8 | 1140ms | 655kb | Corect! | 10 |
9 | 1177ms | 655kb | Corect! | 10 |
10 | 576ms | 655kb | Corect! | 10 |
Punctaj total | 100 |