Pagini recente » Borderou de evaluare (job #1296795) | Borderou de evaluare (job #126263) | Borderou de evaluare (job #1397504) | Borderou de evaluare (job #2080348) | Borderou de evaluare (job #1974504)
Borderou de evaluare (job #1974504)
Raport evaluator
Compilare:
user.cpp: In function ‘int f(int, int)’:
user.cpp:4:17: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
return r+c?c&1|r*2&2|4*f(r/2,c/2):0;
^
user.cpp: In function ‘int main()’:
user.cpp:9:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("z.in","r", stdin);
^
user.cpp:10:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("z.out","w",stdout);
^
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&K);
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);x--;y--;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 260kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 260kb | OK | 10 |
9 | 0ms | 256kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |