Pagini recente » Cod sursa (job #202435) | Cod sursa (job #867452) | Cod sursa (job #627637) | Cod sursa (job #2379772) | Borderou de evaluare (job #2647911)
Borderou de evaluare (job #2647911)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inel.in","r",stdin);
^
main.cpp:64:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inel.out","w",stdout);
^
main.cpp:66:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp: In function 'void eratostene()':
main.cpp:15:19: warning: iteration 18 invokes undefined behavior [-Waggressive-loop-optimizations]
if(!ciur[i]){
~~~~~~^
main.cpp:14:14: note: within this loop
for(i=2;i<=20;i++)
~^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 7ms | 131kb | Incorect | 0 |
| 6 | 607ms | 131kb | Incorect | 0 |
| 7 | 1003ms | 131kb | Time limit exceeded | 0 |
| 8 | 1003ms | 131kb | Time limit exceeded | 0 |
| 9 | 1000ms | 131kb | Time limit exceeded | 0 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 50 |