Pagini recente » Borderou de evaluare (job #3030511) | Borderou de evaluare (job #272120) | Cod sursa (job #577484) | Borderou de evaluare (job #3271514) | Borderou de evaluare (job #1562631)
Borderou de evaluare (job #1562631)
Raport evaluator
Compilare:
user.cpp: In function ‘int calc(int)’:
user.cpp:6:11: warning: unused variable ‘i’ [-Wunused-variable]
int k,i,m;
^
user.cpp:6:13: warning: unused variable ‘m’ [-Wunused-variable]
int k,i,m;
^
user.cpp: In function ‘int calc2(int)’:
user.cpp:18:11: warning: unused variable ‘i’ [-Wunused-variable]
int k,i,m;
^
user.cpp:18:13: warning: unused variable ‘m’ [-Wunused-variable]
int k,i,m;
^
user.cpp: In function ‘int main()’:
user.cpp:38:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld%lld",&p,&x);
^
user.cpp:38:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:36:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risc2.in","r",stdin);
^
user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risc2.out","w",stdout);
^
user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&p,&x);
^
user.cpp:40:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&f[k]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | Incorect | 0 |
| 2 | 0ms | 280kb | Corect | 5 |
| 3 | 0ms | 276kb | Incorect | 0 |
| 4 | 0ms | 284kb | Incorect | 0 |
| 5 | 0ms | 724kb | Corect | 4 |
| 6 | 0ms | 724kb | Corect | 4 |
| 7 | 0ms | 720kb | Corect | 4 |
| 8 | 0ms | 728kb | Corect | 4 |
| 9 | 0ms | 728kb | Incorect | 0 |
| 10 | 0ms | 728kb | Corect | 4 |
| 11 | 0ms | 736kb | Incorect | 0 |
| 12 | 0ms | 732kb | Corect | 4 |
| 13 | 0ms | 752kb | Incorect | 0 |
| 14 | 0ms | 752kb | Corect | 4 |
| 15 | 0ms | 756kb | Incorect | 0 |
| 16 | 0ms | 752kb | Incorect | 0 |
| 17 | 0ms | 760kb | Incorect | 0 |
| 18 | 0ms | 760kb | Incorect | 0 |
| 19 | 0ms | 760kb | Corect | 5 |
| 20 | 0ms | 760kb | Incorect | 0 |
| 21 | 28ms | 1452kb | Corect | 5 |
| 22 | 28ms | 1456kb | Corect | 5 |
| Punctaj total | 48 |