Pagini recente » Borderou de evaluare (job #2382064) | Borderou de evaluare (job #2447389) | Borderou de evaluare (job #2621959) | Borderou de evaluare (job #1215813) | Borderou de evaluare (job #1716855)
Borderou de evaluare (job #1716855)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49: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:51:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%09d",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 | 292kb | OK | 10 |
| 2 | 0ms | 316kb | OK | 10 |
| 3 | 0ms | 344kb | OK | 10 |
| 4 | 0ms | 1636kb | OK | 10 |
| 5 | 16ms | 4836kb | OK | 10 |
| 6 | 36ms | 7120kb | OK | 10 |
| 7 | 24ms | 6472kb | OK | 10 |
| 8 | 64ms | 10812kb | OK | 10 |
| 9 | 68ms | 11536kb | OK | 10 |
| 10 | 104ms | 13976kb | OK | 10 |
| Punctaj total | 100 |