Pagini recente » Borderou de evaluare (job #2922301) | Borderou de evaluare (job #2753971) | Borderou de evaluare (job #1406903) | Borderou de evaluare (job #415999) | Borderou de evaluare (job #2066309)
Borderou de evaluare (job #2066309)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &a[i][j]);
^
user.cpp:60:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &b[i][j]);
^
user.cpp:64:44: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if (a[i][j] ^ column[j] ^ line != b[i][j]) {
^
user.cpp: In function ‘char Advance()’:
user.cpp:27:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, SIZE, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panou.in", "r", stdin);
^
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panou.out", "w", stdout);
^
user.cpp:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:57:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
user.cpp:60:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 340kb | OK | 10 |
4 | 8ms | 424kb | OK | 10 |
5 | 12ms | 472kb | OK | 10 |
6 | 56ms | 668kb | OK | 10 |
7 | 60ms | 700kb | OK | 10 |
8 | 88ms | 752kb | OK | 10 |
9 | 88ms | 756kb | OK | 10 |
10 | 92ms | 756kb | OK | 10 |
Punctaj total | 100 |