Pagini recente » Borderou de evaluare (job #1522975) | Borderou de evaluare (job #1521661) | Borderou de evaluare (job #209070) | Borderou de evaluare (job #1509410) | Borderou de evaluare (job #1324562)
Borderou de evaluare (job #1324562)
Raport evaluator
Compilare:
user.cpp: In function ‘int read()’:
user.cpp:34:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d %d ", &n, &k);
^
user.cpp:34:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:38:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int64_t* {aka long long int*}’ [-Wformat=]
scanf("%d", &arr[i]);
^
user.cpp: In function ‘int solve()’:
user.cpp:46:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=k;i++)
^
user.cpp:51:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(index < n)
^
user.cpp: In function ‘int write()’:
user.cpp:84:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64_t {aka long long int}’ [-Wformat=]
printf("%d", sum);
^
user.cpp: In function ‘int read()’:
user.cpp:32:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN,"r",stdin);
^
user.cpp:33:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT,"w",stdout);
^
user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &n, &k);
^
user.cpp:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &arr[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 284kb | OK | 5 | 5 |
| 2 | 0ms | 284kb | OK | 5 | 5 |
| 3 | 0ms | 336kb | OK | 5 | 5 |
| 4 | 0ms | 388kb | OK | 5 | 5 |
| 5 | 108ms | 2628kb | Incorect | 0 | 0 |
| 6 | 112ms | 2628kb | OK | 5 | 5 |
| 7 | 192ms | 3020kb | Incorect | 0 | 0 |
| 8 | 176ms | 3024kb | Incorect | 0 |
| 9 | 176ms | 5780kb | Incorect | 0 |
| 10 | 192ms | 3540kb | Incorect | 0 | 0 |
| 11 | 188ms | 3804kb | Incorect | 0 |
| 12 | 184ms | 5228kb | Incorect | 0 |
| 13 | 2432ms | 46420kb | Incorect | 0 | 0 |
| 14 | 1424ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 1668ms | 57988kb | Incorect | 0 |
| 16 | 1776ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 1792ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 1780ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 1560ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 1580ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 25 |