Pagini recente » Borderou de evaluare (job #1142140) | Borderou de evaluare (job #1791428) | Borderou de evaluare (job #1801689) | Borderou de evaluare (job #1276443) | Borderou de evaluare (job #1390222)
Borderou de evaluare (job #1390222)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:85:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < codes.size(); ++ i)
^
user.cpp:114:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < codes.size(); ++ i) {
^
user.cpp:54:78: warning: unused variable ‘mid’ [-Wunused-variable]
int n, m, last, cnt, k, i, j, half, lat, i2, j2, len, lmax, left, right, mid;
^
user.cpp: In function ‘int main()’:
user.cpp:138:19: warning: unused variable ‘n’ [-Wunused-variable]
int tc, test, n, m, k;
^
user.cpp:138:22: warning: unused variable ‘m’ [-Wunused-variable]
int tc, test, n, m, k;
^
user.cpp:138:25: warning: unused variable ‘k’ [-Wunused-variable]
int tc, test, n, m, k;
^
user.cpp: In function ‘void solve()’:
user.cpp:56:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
user.cpp:59:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &pixel[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:136:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poze.in", "r", stdin);
^
user.cpp:137:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poze.out", "w", stdout);
^
user.cpp:140:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tc);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 5628kb | Time limit exceeded. | 0 |
2 | Depăşit | 5628kb | Time limit exceeded. | 0 |
3 | 696ms | 4312kb | Incorect | 0 |
4 | 464ms | 3416kb | Incorect | 0 |
5 | 184ms | 2184kb | Incorect | 0 |
6 | 484ms | 3188kb | Incorect | 0 |
7 | 208ms | 4308kb | Incorect | 0 |
8 | 40ms | 1152kb | Incorect | 0 |
9 | 24ms | 1148kb | Incorect | 0 |
10 | 4ms | 756kb | Incorect | 0 |
Punctaj total | 0 |