Pagini recente » Borderou de evaluare (job #2555657) | Borderou de evaluare (job #3044132) | Borderou de evaluare (job #2526786) | Borderou de evaluare (job #1611864) | Borderou de evaluare (job #1906381)
Borderou de evaluare (job #1906381)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%ld%ld", &n, &k);
^
user.cpp:17:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
user.cpp:19:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%ld", &x);
^
user.cpp:23:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%ld", &m);
^
user.cpp:25:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%ld%ld", &x, &y);
^
user.cpp:25:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
user.cpp:27:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=]
printf("%ld\n", raspuns(x, y));
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.in", "r", stdin);
^
user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.out", "w", stdout);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld", &n, &k);
^
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &x);
^
user.cpp:23:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &m);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | Incorect | 0 |
2 | 0ms | 440kb | Incorect | 0 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 436kb | Incorect | 0 |
5 | 0ms | 444kb | Incorect | 0 |
6 | 0ms | 436kb | Incorect | 0 |
7 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |