Pagini recente » Borderou de evaluare (job #1500504) | Borderou de evaluare (job #27061) | Borderou de evaluare (job #921334) | Borderou de evaluare (job #2787564) | Borderou de evaluare (job #2627293)
Borderou de evaluare (job #2627293)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:54: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:63:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d %lld\n", nrDiv, sum);
^
main.cpp: In function 'int main()':
main.cpp:67: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:68: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:71:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:73: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 | 15ms | 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 | 79ms | 913kb | Incorect | 0 | 0 |
9 | 57ms | 913kb | OK | 10 |
10 | 58ms | 913kb | OK | 10 |
Punctaj total | 70 |