Pagini recente » Borderou de evaluare (job #1558257) | Borderou de evaluare (job #2408201) | Borderou de evaluare (job #1033658) | Borderou de evaluare (job #443135) | Borderou de evaluare (job #1739477)
Borderou de evaluare (job #1739477)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
FOR(i,1,n) FOR(j,1,n) { scanf("%d",&a[i][j]); if (a[i][j] == 1) ones++; }
^
user.cpp:89:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("robot2.in", "r", stdin);
^
user.cpp:90:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("robot2.out", "w", stdout);
^
user.cpp:92:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:94:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
FOR(i,1,n) FOR(j,1,n) { scanf("%d",&a[i][j]); if (a[i][j] == 1) ones++; }
^
user.cpp:95:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&L1,&C1,&L2,&C2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 31784kb | Corect! | 10 |
2 | 44ms | 31952kb | Corect! | 10 |
3 | 56ms | 31980kb | Corect! | 10 |
4 | 360ms | 36088kb | Corect! | 10 |
5 | 192ms | 32344kb | Corect! | 10 |
6 | Depăşit | 40472kb | Time limit exceeded. | 0 |
7 | Depăşit | 40472kb | Time limit exceeded. | 0 |
8 | Depăşit | 49932kb | Time limit exceeded. | 0 |
9 | 672ms | 32684kb | Corect! | 10 |
10 | 576ms | 32800kb | Corect! | 10 |
Punctaj total | 70 |