Pagini recente » Borderou de evaluare (job #661365) | Borderou de evaluare (job #2760778) | Borderou de evaluare (job #2692028) | Borderou de evaluare (job #1933534) | Borderou de evaluare (job #1576129)
Borderou de evaluare (job #1576129)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &n, &k);
^
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:38:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", lowest_cost);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.in", "rt", stdin);
^
user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.out", "wt", stdout);
^
user.cpp:14: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:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 10 | 10 |
2 | 0ms | 256kb | OK | 10 | 10 |
3 | 0ms | 264kb | Incorect | 0 | 0 |
4 | 204ms | 316kb | Incorect | 0 | 0 |
5 | Depăşit | 436kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 632kb | Time limit exceeded. | 0 |
7 | Depăşit | 768kb | Time limit exceeded. | 0 |
8 | Depăşit | 1096kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 1192kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 1364kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 20 |