Pagini recente » Borderou de evaluare (job #1135239) | Borderou de evaluare (job #508610) | Borderou de evaluare (job #1314774) | Borderou de evaluare (job #2741336) | Borderou de evaluare (job #1268071)
Borderou de evaluare (job #1268071)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int apply(unsigned int)’:
user.cpp:13:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((nr & maskin[i]) == maskout[i]) {
^
user.cpp: In function ‘int main()’:
user.cpp:42:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int i = 1; i < (1 << n) && sorts_all; ++i) {
^
user.cpp:47:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (apply(i) != sorted[i]) {
^
user.cpp:27:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &teste);
^
user.cpp:29:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &n, &m);
^
user.cpp:31:52: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &v[i].first, &v[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 72ms | 992kb | OK | 10 |
2 | 124ms | 996kb | OK | 10 |
3 | 4ms | 500kb | OK | 10 |
4 | 4ms | 520kb | OK | 10 |
5 | 32ms | 736kb | OK | 10 |
6 | 32ms | 736kb | OK | 10 |
7 | 8ms | 508kb | OK | 10 |
8 | 32ms | 740kb | OK | 10 |
9 | 36ms | 612kb | OK | 10 |
10 | 200ms | 744kb | OK | 10 |
Punctaj total | 100 |