Pagini recente » Borderou de evaluare (job #2488686) | Borderou de evaluare (job #2285269) | Borderou de evaluare (job #2476855) | Borderou de evaluare (job #1415010) | Borderou de evaluare (job #2229498)
Borderou de evaluare (job #2229498)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",1LL*prime[np]*prime[np]);
^
user.cpp:25:13: warning: unused variable ‘nr’ [-Wunused-variable]
int n,i,nr,j,cj;
^~
user.cpp:25:16: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,nr,j,cj;
^
user.cpp:25:18: warning: unused variable ‘cj’ [-Wunused-variable]
int n,i,nr,j,cj;
^~
user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in","r",stdin);
^
user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out","w",stdout);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 1636kb | OK | 10 |
| 2 | 4ms | 1636kb | OK | 10 |
| 3 | 4ms | 1636kb | OK | 10 |
| 4 | 4ms | 1640kb | OK | 10 |
| 5 | 4ms | 1636kb | OK | 10 |
| 6 | 4ms | 1660kb | Incorect | 0 |
| 7 | 4ms | 1664kb | Incorect | 0 |
| 8 | 4ms | 1668kb | Incorect | 0 |
| 9 | 4ms | 1664kb | Incorect | 0 |
| 10 | 4ms | 1664kb | Incorect | 0 |
| Punctaj total | 50 |