Skip to main content
added 2 characters in body
Source Link
Yytsi
  • 3.8k
  • 1
  • 20
  • 34

C++C++14 - 135

#include<string>
#include<iostream>
void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d<<" ";}

C++ - 135

#include<string>
#include<iostream>
void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d<<" ";}

C++14 - 135

#include<string>
#include<iostream>
void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d<<" ";}
added 24 characters in body
Source Link
Yytsi
  • 3.8k
  • 1
  • 20
  • 34

C++ - 111135

#include<string>
#include<iostream>
void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d;cout<<c<<d<<" ";}

C++ - 111

#include<string>
void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d;}

C++ - 135

#include<string>
#include<iostream>
void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d<<" ";}
added 23 characters in body
Source Link
Yytsi
  • 3.8k
  • 1
  • 20
  • 34

C++ - 94111

#include<string>
void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d;}

C++ - 94

void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d;}

C++ - 111

#include<string>
void f(){std::string a="0123",b="0123456789ABCDEF";for(char c:a)for(char d:b)std::cout<<c<<d;}
added 20 characters in body
Source Link
Yytsi
  • 3.8k
  • 1
  • 20
  • 34
Loading
Source Link
Yytsi
  • 3.8k
  • 1
  • 20
  • 34
Loading