Pagini recente » Borderou de evaluare (job #1381821) | Borderou de evaluare (job #1417445) | Borderou de evaluare (job #326579) | Borderou de evaluare (job #1804511) | Borderou de evaluare (job #1707716)
Borderou de evaluare (job #1707716)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:24: warning: unused variable ‘d’ [-Wunused-variable]
int a,b,nrdivmax=0,d,cnt,i,imin,prim,nrmax=44800;
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.in","r",stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.out","w",stdout);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp: In function ‘int nrdiv(int)’:
user.cpp:7:5: warning: ‘np’ is used uninitialized in this function [-Wuninitialized]
while(i<=np&&v[i]*v[i]<=n)
^
user.cpp: In function ‘int main()’:
user.cpp:32:12: warning: array subscript is above array bounds [-Warray-bounds]
v[nrmax]=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | Incorect | 0 | 0 |
2 | 0ms | 300kb | Incorect | 0 |
3 | 0ms | 304kb | Incorect | 0 |
4 | 0ms | 308kb | Incorect | 0 |
5 | 0ms | 300kb | Incorect | 0 | 0 |
6 | 0ms | 304kb | Incorect | 0 |
7 | 0ms | 300kb | Incorect | 0 |
8 | 0ms | 304kb | Incorect | 0 | 0 |
9 | 0ms | 304kb | Incorect | 0 |
10 | 0ms | 300kb | Incorect | 0 |
Punctaj total | 0 |