Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#include
using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int pomosna = 0; if(a >= 5) { pomosna += 5; a -= 5; } else { pomosna += a; a = 0; } if(b >= 5) { pomosna += 5; b -= 5; } else { pomosna += b; b = 0; } if(c >= 5) { pomosna += 5; c -= 5; } else { pomosna += c; c = 0; } if(abs(a - b) <= pomosna or abs(a - c) <= pomosna or abs(b - c) <= pomosna) { cout << "DA" << endl; } else { cout << "NE" << endl; } return 0; }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)