Pagini recente » Borderou de evaluare (job #1781340) | Borderou de evaluare (job #657008) | Borderou de evaluare (job #2283286) | Borderou de evaluare (job #641333) | Borderou de evaluare (job #1389401)
Borderou de evaluare (job #1389401)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:59:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &pixel[i][j]);
^
user.cpp:85:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < codes.size(); ++ i)
^
user.cpp:113: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:137:19: warning: unused variable ‘n’ [-Wunused-variable]
int tc, test, n, m, k;
^
user.cpp:137:22: warning: unused variable ‘m’ [-Wunused-variable]
int tc, test, n, m, k;
^
user.cpp:137: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:135: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:136: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:139: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 | 5380kb | Time limit exceeded. | 0 |
2 | Depăşit | 5388kb | Time limit exceeded. | 0 |
3 | 956ms | 3980kb | Incorect | 0 |
4 | 672ms | 3124kb | Incorect | 0 |
5 | 224ms | 2144kb | Incorect | 0 |
6 | 684ms | 3092kb | Incorect | 0 |
7 | 244ms | 3980kb | Incorect | 0 |
8 | 56ms | 972kb | Incorect | 0 |
9 | 32ms | 1136kb | Incorect | 0 |
10 | 8ms | 680kb | Incorect | 0 |
Punctaj total | 0 |