Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1714119) | Borderou de evaluare (job #2204689) | Borderou de evaluare (job #2144857) | Borderou de evaluare (job #1508793)
Borderou de evaluare (job #1508793)
Raport evaluator
Compilare:
user.cpp: In function ‘void flip(int)’:
user.cpp:20:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
k = (z >> m + i) % 2;
^
user.cpp:22:21: warning: suggest parentheses around ‘-’ inside ‘>>’ [-Wparentheses]
l = (z >> m - j - 1) % 2;
^
user.cpp: In function ‘void preflip()’:
user.cpp:37:17: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
a = a << m + n - 1;
^
user.cpp:36:6: warning: unused variable ‘x’ [-Wunused-variable]
int x, i, j, a = 1;
^
user.cpp:36:9: warning: unused variable ‘i’ [-Wunused-variable]
int x, i, j, a = 1;
^
user.cpp:36:12: warning: unused variable ‘j’ [-Wunused-variable]
int x, i, j, a = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:56:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &v[i][j]);
^
user.cpp:60:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d", MAX);
^
user.cpp:49: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:50: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:51:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:52:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:56: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 | 264kb | Ok! | 10 |
| 2 | 40ms | 264kb | Ok! | 10 |
| 3 | 36ms | 256kb | Ok! | 10 |
| 4 | 12ms | 256kb | Ok! | 10 |
| 5 | Depăşit | 232kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 236kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 236kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |