Pagini recente » Borderou de evaluare (job #2573742) | Borderou de evaluare (job #1298636) | Borderou de evaluare (job #2035474) | Borderou de evaluare (job #1958534) | Borderou de evaluare (job #1892037)
Borderou de evaluare (job #1892037)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,k,i,j,kk,s=0,kkk;
^
user.cpp:8:17: warning: unused variable ‘kk’ [-Wunused-variable]
int n,k,i,j,kk,s=0,kkk;
^
user.cpp:8:20: warning: unused variable ‘s’ [-Wunused-variable]
int n,k,i,j,kk,s=0,kkk;
^
user.cpp:8:24: warning: unused variable ‘kkk’ [-Wunused-variable]
int n,k,i,j,kk,s=0,kkk;
^
user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("minusk.in", "r",stdin);
^
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minusk.out", "w",stdout);
^
user.cpp:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:14:24: warning: array subscript is below array bounds [-Warray-bounds]
v[i]-=v[i-k];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 920kb | Incorect | 0 |
7 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 0 |