Pagini recente » Borderou de evaluare (job #440548) | Borderou de evaluare (job #1295309) | Borderou de evaluare (job #2629789) | Borderou de evaluare (job #900368) | Borderou de evaluare (job #1560456)
Borderou de evaluare (job #1560456)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:2:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("sah.in","r",stdin);freopen("sah.out","w",stdout);int n;scanf("%d",&n);for(int i=0;i<n;++i){for(int j=0;j<n;++j){printf("%d ",((i>>1)<<1)^(j<(i>>1)?0:1));}printf("\n");}}
^
user.cpp:2:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("sah.in","r",stdin);freopen("sah.out","w",stdout);int n;scanf("%d",&n);for(int i=0;i<n;++i){for(int j=0;j<n;++j){printf("%d ",((i>>1)<<1)^(j<(i>>1)?0:1));}printf("\n");}}
^
user.cpp:2:90: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("sah.in","r",stdin);freopen("sah.out","w",stdout);int n;scanf("%d",&n);for(int i=0;i<n;++i){for(int j=0;j<n;++j){printf("%d ",((i>>1)<<1)^(j<(i>>1)?0:1));}printf("\n");}}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK! | 10 |
2 | 0ms | 260kb | OK! | 10 |
3 | 0ms | 256kb | OK! | 10 |
4 | 16ms | 260kb | OK! | 10 |
5 | 20ms | 260kb | OK! | 10 |
6 | 40ms | 260kb | OK! | 10 |
7 | 84ms | 260kb | OK! | 10 |
8 | 96ms | 256kb | OK! | 10 |
9 | 160ms | 260kb | OK! | 10 |
10 | 196ms | 260kb | OK! | 10 |
Punctaj total | 100 |