Pagini recente » Borderou de evaluare (job #459769) | Borderou de evaluare (job #2616154) | Borderou de evaluare (job #613896) | Borderou de evaluare (job #1897890) | Borderou de evaluare (job #2718580)
Borderou de evaluare (job #2718580)
Raport evaluator
Compilare:
main.cpp: In function 'void calc_ciur()':
main.cpp:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < prime.size() && prime[i] <= ciur[nr] && prime[i] * nr <= LMAX; i++)
~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:40:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in", "r", stdin);
^
main.cpp:41:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out", "w", stdout);
^
main.cpp:46:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &t);
^
main.cpp:48:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 31ms | 4845kb | OK | 10 |
2 | 31ms | 4845kb | OK | 10 |
3 | 33ms | 4845kb | OK | 10 |
4 | 72ms | 6873kb | OK | 10 |
5 | 43ms | 5103kb | OK | 10 |
6 | 58ms | 5890kb | OK | 10 |
7 | 109ms | 7856kb | OK | 10 |
8 | 145ms | 9560kb | OK | 10 |
9 | 40ms | 4845kb | OK | 10 |
10 | 31ms | 4845kb | OK | 10 |
Punctaj total | 100 |