fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. int wynik = 0;
  5. for (int i = 0; i < 25; ++i) {
  6. for (int j = 0; j < 25; ++j) {
  7. wynik += (i + j) % 256;
  8. std::cout << (i + j) % 256;
  9. }
  10. std::cout << std::endl;
  11. }
  12. std::cout << std::endl;std::cout << std::endl;std::cout << std::endl;
  13. wynik /= 625;
  14. std::cout << wynik << std::endl;
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
0123456789101112131415161718192021222324
12345678910111213141516171819202122232425
234567891011121314151617181920212223242526
3456789101112131415161718192021222324252627
45678910111213141516171819202122232425262728
567891011121314151617181920212223242526272829
6789101112131415161718192021222324252627282930
78910111213141516171819202122232425262728293031
891011121314151617181920212223242526272829303132
9101112131415161718192021222324252627282930313233
10111213141516171819202122232425262728293031323334
11121314151617181920212223242526272829303132333435
12131415161718192021222324252627282930313233343536
13141516171819202122232425262728293031323334353637
14151617181920212223242526272829303132333435363738
15161718192021222324252627282930313233343536373839
16171819202122232425262728293031323334353637383940
17181920212223242526272829303132333435363738394041
18192021222324252627282930313233343536373839404142
19202122232425262728293031323334353637383940414243
20212223242526272829303132333435363738394041424344
21222324252627282930313233343536373839404142434445
22232425262728293031323334353637383940414243444546
23242526272829303132333435363738394041424344454647
24252627282930313233343536373839404142434445464748



24