Pagini recente » Borderou de evaluare (job #2256121) | Borderou de evaluare (job #2424194) | Borderou de evaluare (job #3173653) | Borderou de evaluare (job #2188163) | Borderou de evaluare (job #2764071)
Borderou de evaluare (job #2764071)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if((x/y)%2==0 && x%y==0 || y>x)
~~~~~~~~~~~^~~~~~~~~
main.cpp:7:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mere.in","r",stdin);
^
main.cpp:8:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mere.out","w",stdout);
^
main.cpp:10:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:13:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lli %lli",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 131kb | OK | 10 |
8 | 3ms | 131kb | OK | 10 |
9 | 3ms | 131kb | OK | 10 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 100 |