Pagini recente » Borderou de evaluare (job #120215) | Borderou de evaluare (job #384898) | Borderou de evaluare (job #944095) | Borderou de evaluare (job #151232) | Borderou de evaluare (job #1415947)
Borderou de evaluare (job #1415947)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < primes.size() && 1LL * primes[i] * primes[i] <= p; i++){
^
user.cpp:24:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("far.in", "r", stdin);
^
user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("far.out", "w", stdout);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrt);
^
user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 580kb | OK | 20 |
2 | 0ms | 580kb | OK | 20 |
3 | 0ms | 580kb | OK | 20 |
4 | 0ms | 584kb | OK | 20 |
5 | 0ms | 584kb | OK | 20 |
Punctaj total | 100 |