Pagini recente » Borderou de evaluare (job #507213) | Borderou de evaluare (job #3121604) | Borderou de evaluare (job #621402) | Borderou de evaluare (job #2969542) | Borderou de evaluare (job #1184825)
Borderou de evaluare (job #1184825)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
LL N, K; scanf("%I64d%I64d", &N, &K);
^
user.cpp:25:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
user.cpp:28:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=]
printf("%I64d\n", ret);
^
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in", "r", stdin);
^
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out", "w", stdout);
^
user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int T; scanf("%d", &T);
^
user.cpp:25:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
LL N, K; scanf("%I64d%I64d", &N, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | 8068kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |