Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2040614)
| Utilizator | Data | 16 octombrie 2017 01:16:32 | |
|---|---|---|---|
| Problema | Ciurul lui Eratosthenes | Status | done |
| Runda | Arhiva educationala | Compilator | c | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:12:5: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
for (i = 3; i <= sqrt(n); i += 2)
^
user.c:12:22: warning: incompatible implicit declaration of built-in function ‘sqrt’ [enabled by default]
for (i = 3; i <= sqrt(n); i += 2)
^
user.c:9:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciur.in","r",stdin);
^
user.c:10:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ciur.out","w",stdout);
^
user.c:11:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 296kb | OK | 10 |
| 4 | 16ms | 1248kb | OK | 10 |
| 5 | 12ms | 1348kb | OK | 10 |
| 6 | 20ms | 1592kb | OK | 10 |
| 7 | 24ms | 1736kb | OK | 10 |
| 8 | 36ms | 2048kb | OK | 10 |
| 9 | 40ms | 2128kb | OK | 10 |
| 10 | 44ms | 2220kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
