Pagini recente » Borderou de evaluare (job #1049456) | Borderou de evaluare (job #2933313) | Borderou de evaluare (job #1198287) | Borderou de evaluare (job #3231458) | Borderou de evaluare (job #1805020)
Borderou de evaluare (job #1805020)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d",&A[i][j]);
^
user.cpp:23:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d",&B[i][j]);
^
user.cpp:28:67: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ( lin[i] + col[j] ) % 2 ) A[i][j] = opus[ A[i][j] ];
^
user.cpp:11:34: 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:12:36: 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:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&A[i][j]);
^
user.cpp:23:29: 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 | 428kb | OK | 10 |
| 5 | 12ms | 468kb | OK | 10 |
| 6 | 48ms | 660kb | OK | 10 |
| 7 | 68ms | 700kb | OK | 10 |
| 8 | 80ms | 744kb | OK | 10 |
| 9 | 88ms | 752kb | OK | 10 |
| 10 | 96ms | 756kb | OK | 10 |
| Punctaj total | 100 |