Borderou de evaluare (job #2514674)

Utilizator Sho10Andrei Alexandru Sho10 Data 26 decembrie 2019 16:49:04
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int32_t main()': main.cpp:56:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x<0) x=x+9973; ^~ main.cpp:57:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' int y=putere((d+9972)%9973,9971); ^~~ main.cpp:69:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(x<0) x=x+9973; ^~ main.cpp:70:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' int y=putere((d+9972)%9973,9971); ^~~ main.cpp: In function 'int putere(int, int)': main.cpp:82:12: error: unable to find numeric literal operator 'operator""int' return a%9973int; ^~~~~~~ main.cpp:82:12: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes main.cpp:87:13: error: unable to find numeric literal operator 'operator""int' return c%9973int; ^~~~~~~ main.cpp:87:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes main.cpp:89:15: error: unable to find numeric literal operator 'operator""int' return ((a%9973int)*(c%9973int))%9973int; ^~~~~~~ main.cpp:89:15: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes main.cpp:89:27: error: unable to find numeric literal operator 'operator""int' return ((a%9973int)*(c%9973int))%9973int; ^~~~~~~ main.cpp:89:27: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes main.cpp:89:37: error: unable to find numeric literal operator 'operator""int' return ((a%9973int)*(c%9973int))%9973int; ^~~~~~~ main.cpp:89:37: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes Non zero exit status: 1

Ceva nu functioneaza?