Pagini recente » Borderou de evaluare (job #2853629) | Borderou de evaluare (job #1545285) | Borderou de evaluare (job #1132377) | Borderou de evaluare (job #1150820) | Borderou de evaluare (job #1516645)
Borderou de evaluare (job #1516645)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d%d", &n, &k);
^
user.cpp:18:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
user.cpp:22:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:36:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d%d", &n, &k);
^
user.cpp:36:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
user.cpp:40:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d", &x);
^
user.cpp:45:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=]
printf("%d ", i);
^
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("ksecv3.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("ksecv3.out", "w", stdout);
^
user.cpp:18: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:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in", "r", stdin);
^
user.cpp:36: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:40:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 412kb | Incorect | 0 |
5 | 4ms | 428kb | OK | 10 |
6 | 4ms | 436kb | OK | 10 |
7 | 36ms | 436kb | OK | 10 |
8 | 88ms | 432kb | OK | 10 |
9 | 32ms | 436kb | OK | 10 |
10 | 16ms | 420kb | OK | 10 |
Punctaj total | 90 |