Pagini recente » Borderou de evaluare (job #3148769) | Borderou de evaluare (job #1610962) | Borderou de evaluare (job #1229156) | Borderou de evaluare (job #2850237) | Borderou de evaluare (job #1324543)
Borderou de evaluare (job #1324543)
Raport evaluator
Compilare:
user.cpp: In function ‘int read()’:
user.cpp:36:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;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 | 320kb | OK | 5 | 5 |
4 | 0ms | 376kb | OK | 5 | 5 |
5 | 108ms | 2244kb | Incorect | 0 | 0 |
6 | 104ms | 2232kb | OK | 5 | 5 |
7 | 200ms | 2040kb | Incorect | 0 | 0 |
8 | 188ms | 2044kb | Incorect | 0 |
9 | 180ms | 4800kb | Incorect | 0 |
10 | 204ms | 2564kb | Incorect | 0 | 0 |
11 | 192ms | 2824kb | Incorect | 0 |
12 | 192ms | 4244kb | Incorect | 0 |
13 | Depăşit | 36632kb | Time limit exceeded. | 0 | 0 |
14 | Depăşit | 62296kb | Time limit exceeded. | 0 |
15 | 1752ms | 48220kb | Incorect | 0 |
16 | 2140ms | Depăşit | Memory limit exceeded. | 0 |
17 | 2140ms | Depăşit | Memory limit exceeded. | 0 |
18 | 2144ms | Depăşit | Memory limit exceeded. | 0 |
19 | 1804ms | Depăşit | Memory limit exceeded. | 0 |
20 | 1692ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 25 |