Borderou de evaluare (job #2384130)

Utilizator RaduXD1Nicolae Radu RaduXD1 Data 20 martie 2019 13:32:27
Problema Castori Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:13:25: error: ISO C++ forbids declaration of 'diag1' with no type [-fpermissive] inline diag1(int x,int y){return x+y;} ^ main.cpp:14:25: error: ISO C++ forbids declaration of 'diag2' with no type [-fpermissive] inline diag2(int x,int y){return y-x;} ^ Non zero exit status: 1

Ceva nu functioneaza?