Pagini recente » Borderou de evaluare (job #2144774) | Borderou de evaluare (job #2554602) | Borderou de evaluare (job #903198) | Borderou de evaluare (job #2400469) | Borderou de evaluare (job #1508805)
Borderou de evaluare (job #1508805)
Raport evaluator
Compilare:
user.cpp: In function ‘int flip(int)’:
user.cpp:10:15: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
k = (z >> m + i) % 2;
^
user.cpp:12:20: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses]
l = (z >> m - j - 1) % 2;
^
user.cpp: In function ‘void preflip()’:
user.cpp:23:17: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
a = a << m + n - 1;
^
user.cpp: In function ‘int main()’:
user.cpp:42:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &v[i][j]);
^
user.cpp:46:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d", MAX);
^
user.cpp:35:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flip.in", "r", stdin);
^
user.cpp:36:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flip.out", "w", stdout);
^
user.cpp:37:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:42:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | Ok! | 10 |
| 2 | 32ms | 264kb | Ok! | 10 |
| 3 | 24ms | 260kb | Ok! | 10 |
| 4 | 12ms | 260kb | Ok! | 10 |
| 5 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 232kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 232kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 240kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |