Pagini recente » Borderou de evaluare (job #429823) | Borderou de evaluare (job #1458105) | Borderou de evaluare (job #1145666) | Borderou de evaluare (job #3246456) | Borderou de evaluare (job #1389390)
Borderou de evaluare (job #1389390)
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:136:19: warning: unused variable ‘n’ [-Wunused-variable]
int tc, test, n, m, k;
^
user.cpp:136:22: warning: unused variable ‘m’ [-Wunused-variable]
int tc, test, n, m, k;
^
user.cpp:136: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:134: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:135: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:138: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 | 212ms | 5212kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 220ms | 5224kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 948ms | 3976kb | Incorect | 0 |
4 | 672ms | 3124kb | Incorect | 0 |
5 | 228ms | 2144kb | Incorect | 0 |
6 | 688ms | 3092kb | Incorect | 0 |
7 | 244ms | 3980kb | Incorect | 0 |
8 | 56ms | 976kb | Incorect | 0 |
9 | 32ms | 1004kb | Incorect | 0 |
10 | 8ms | 672kb | Incorect | 0 |
Punctaj total | 0 |