Pagini recente » Borderou de evaluare (job #20007) | Cod sursa (job #3264903) | Borderou de evaluare (job #2417474) | Borderou de evaluare (job #2625827) | Borderou de evaluare (job #1461544)
Borderou de evaluare (job #1461544)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[c][x2 + 1][y2 + 1] = 1 - s[c][x2+1][y2+1];
^
user.cpp:18:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[c][x2 + 1][y2 + 1] = 1 - s[c][x2+1][y2+1];
^
user.cpp:19:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[c][x1][y1] = 1 - s[c][x1][y1];
^
user.cpp:19:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[c][x1][y1] = 1 - s[c][x1][y1];
^
user.cpp:20:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[c][x2+1][y1] = 1 - s[c][x2+1][y1];
^
user.cpp:20:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[c][x2+1][y1] = 1 - s[c][x2+1][y1];
^
user.cpp:21:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[c][x1][y2+1] = 1 - s[c][x1][y2+1];
^
user.cpp:21:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[c][x1][y2+1] = 1 - s[c][x1][y2+1];
^
user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rox.in","r",stdin);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rox.out","w",stdout);
^
user.cpp:11:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&m,&q);
^
user.cpp:16:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %c\n",&x1,&y1,&x2,&y2,&c);
^
user.cpp:32:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&q);
^
user.cpp:36:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 48ms | Depăşit | Memory limit exceeded. | 0 |
2 | 48ms | Depăşit | Memory limit exceeded. | 0 |
3 | 52ms | 3796kb | OK | 5 |
4 | 60ms | 3832kb | OK | 5 |
5 | 52ms | 3840kb | OK | 5 |
6 | 64ms | 3900kb | OK | 5 |
7 | 56ms | 3900kb | OK | 5 |
8 | 60ms | 3872kb | OK | 5 |
9 | 92ms | Depăşit | Memory limit exceeded. | 0 |
10 | 44ms | Depăşit | Memory limit exceeded. | 0 |
11 | 44ms | Depăşit | Memory limit exceeded. | 0 |
12 | 88ms | Depăşit | Memory limit exceeded. | 0 |
13 | 92ms | Depăşit | Memory limit exceeded. | 0 |
14 | 88ms | Depăşit | Memory limit exceeded. | 0 |
15 | 88ms | Depăşit | Memory limit exceeded. | 0 |
16 | 84ms | Depăşit | Memory limit exceeded. | 0 |
17 | 88ms | Depăşit | Memory limit exceeded. | 0 |
18 | 132ms | Depăşit | Memory limit exceeded. | 0 |
19 | 132ms | Depăşit | Memory limit exceeded. | 0 |
20 | 132ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |