Pagini recente » Borderou de evaluare (job #295199) | Borderou de evaluare (job #2644982) | Borderou de evaluare (job #1766671) | Borderou de evaluare (job #360500) | Borderou de evaluare (job #1712197)
Borderou de evaluare (job #1712197)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:114:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randomizare.in", "r", stdin);
^
user.cpp:115:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randomizare.out", "w", stdout);
^
user.cpp:117:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:120:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:123:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp: In function ‘void SolveCycle(int)’:
user.cpp:78:31: warning: ‘answer’ may be used uninitialized in this function [-Wmaybe-uninitialized]
remainder[factors[i]] = x % factors[i];
^
user.cpp:95:22: note: ‘answer’ was declared here
int bestPos = INF, answer, start, size = Factorize(length, factors);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 336kb | OK | 10 |
4 | 36ms | 1316kb | OK | 10 |
5 | 44ms | 1320kb | OK | 10 |
6 | 76ms | 1932kb | OK | 10 |
7 | 112ms | 2756kb | OK | 10 |
8 | 140ms | 3368kb | OK | 10 |
9 | 176ms | 3980kb | OK | 10 |
10 | 212ms | 4376kb | OK | 10 |
Punctaj total | 100 |