Pagini recente » Borderou de evaluare (job #594491) | Borderou de evaluare (job #2546858) | Borderou de evaluare (job #2465026) | Borderou de evaluare (job #849792) | Borderou de evaluare (job #2627370)
Borderou de evaluare (job #2627370)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:58:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; nr > 1 && i < primeNumbers.size() && primeNumbers[i] * primeNumbers[i] <= nr; i++) {
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:71:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssnd.in", "r", stdin);
^
main.cpp:72:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssnd.out", "w", stdout);
^
main.cpp:75:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:77:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 19ms | 913kb | OK | 10 | 10 |
2 | 19ms | 913kb | OK | 10 | 10 |
3 | 19ms | 913kb | OK | 10 | 10 |
4 | 19ms | 913kb | OK | 10 | 10 |
5 | 19ms | 913kb | OK | 10 | 10 |
6 | 19ms | 913kb | OK | 10 | 10 |
7 | 19ms | 913kb | OK | 10 | 10 |
8 | 73ms | 913kb | OK | 10 | 30 |
9 | 71ms | 913kb | OK | 10 |
10 | 59ms | 913kb | OK | 10 |
Punctaj total | 100 |