Pagini recente » Borderou de evaluare (job #1939971) | Borderou de evaluare (job #1895977) | Borderou de evaluare (job #945322) | Borderou de evaluare (job #1673578) | Borderou de evaluare (job #1749875)
Borderou de evaluare (job #1749875)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_rmq(int, int)’:
user.cpp:17:70: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rq[lg][i][j] = gcd(rq[lg][i][j], rq[lg-1][max(1, i-(1<<lg-1))][max(1, j-(1<<lg-1))]);
^
user.cpp:2:31: note: in definition of macro ‘gcd’
#define gcd(x, y) __gcd((x), (y))
^
user.cpp:17:91: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rq[lg][i][j] = gcd(rq[lg][i][j], rq[lg-1][max(1, i-(1<<lg-1))][max(1, j-(1<<lg-1))]);
^
user.cpp:2:31: note: in definition of macro ‘gcd’
#define gcd(x, y) __gcd((x), (y))
^
user.cpp:18:70: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rq[lg][i][j] = gcd(rq[lg][i][j], rq[lg-1][max(1, i-(1<<lg-1))][j]);
^
user.cpp:2:31: note: in definition of macro ‘gcd’
#define gcd(x, y) __gcd((x), (y))
^
user.cpp:19:73: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rq[lg][i][j] = gcd(rq[lg][i][j], rq[lg-1][i][max(1, j-(1<<lg-1))]);
^
user.cpp:2:31: note: in definition of macro ‘gcd’
#define gcd(x, y) __gcd((x), (y))
^
user.cpp: In function ‘int main()’:
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xcmmdc.in", "r", stdin);
^
user.cpp:37:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xcmmdc.out", "w", stdout);
^
user.cpp:40:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&g,&q);
^
user.cpp:43:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&rq[0][i][j]);
^
user.cpp:69:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 3160kb | OK | 10 |
| 2 | 68ms | 6724kb | OK | 10 |
| 3 | 176ms | 11112kb | OK | 10 |
| 4 | 320ms | 14540kb | OK | 10 |
| 5 | 484ms | 18188kb | OK | 10 |
| 6 | 1132ms | 29908kb | OK | 10 |
| 7 | 1084ms | 27864kb | OK | 10 |
| 8 | 1428ms | 31796kb | OK | 10 |
| 9 | 1800ms | 35888kb | OK | 10 |
| 10 | 2200ms | 39728kb | OK | 10 |
| Punctaj total | 100 |