Pagini recente » Borderou de evaluare (job #416421) | Borderou de evaluare (job #2100678) | Cod sursa (job #369376) | Borderou de evaluare (job #142681) | Borderou de evaluare (job #2090599)
Borderou de evaluare (job #2090599)
Raport evaluator
Compilare:
user.cpp: In function ‘int verif(int, int)’:
user.cpp:12:30: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(a[x][i] & a[y][i] == 1)
^
user.cpp: In function ‘int main()’:
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.in","r",stdin);
^
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.out","w",stdout);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:44:21: warning: array subscript is above array bounds [-Warray-bounds]
if(a[i][1000] == 0)
^
user.cpp:47:22: warning: array subscript is above array bounds [-Warray-bounds]
a[i][1000]=i;
^
user.cpp:55:34: warning: array subscript is above array bounds [-Warray-bounds]
a[j][1000]=j;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 280kb | Incorect | 0 | 0 |
| 2 | 0ms | 308kb | OK | 10 |
| 3 | 4ms | 452kb | Incorect | 0 |
| 4 | 80ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 108ms | Depăşit | Memory limit exceeded. | 0 |
| 6 | 144ms | Depăşit | Memory limit exceeded. | 0 | 0 |
| 7 | 144ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 0ms | 288kb | OK | 10 |
| 9 | 0ms | 312kb | OK | 10 |
| 10 | 0ms | 384kb | OK | 10 |
| Punctaj total | 0 |