Pagini recente » Borderou de evaluare (job #647665) | Borderou de evaluare (job #720027) | Borderou de evaluare (job #1598694) | Borderou de evaluare (job #2520767) | Borderou de evaluare (job #1716853)
Borderou de evaluare (job #1716853)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a[a[0]]);
^
user.cpp:53:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a[i]);
^
user.cpp:61:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a[i]);
^
user.cpp:16:9: warning: unused variable ‘aux’ [-Wunused-variable]
int aux=k-1;
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("recurenta.in", "r", stdin);
^
user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("recurenta.out", "w", stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 332kb | OK | 10 |
4 | 0ms | 1444kb | OK | 10 |
5 | 16ms | 4188kb | OK | 10 |
6 | 32ms | 6148kb | OK | 10 |
7 | 24ms | 5588kb | OK | 10 |
8 | 64ms | 9308kb | OK | 10 |
9 | 68ms | 9932kb | OK | 10 |
10 | 104ms | 11992kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 90 |