Borderou de evaluare (job #1902917)
Utilizator | Data | 4 martie 2017 20:54:02 | |
---|---|---|---|
Problema | Suma divizorilor | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int prog(int, int)’:
user.cpp:39:14: error: ‘mod’ was not declared in this scope
put+=mod;
^
user.cpp:40:25: error: expected ‘;’ before ‘)’ token
return ((put-1)%n)*l)%n;
^
user.cpp:40:25: error: expected primary-expression before ‘)’ token
user.cpp:40:25: error: expected ‘;’ before ‘)’ token
user.cpp: In function ‘int sdiv()’:
user.cpp:47:12: error: expected primary-expression before ‘long’
while((long long))d*d<=a && a>1)
^
user.cpp:47:12: error: expected ‘)’ before ‘long’
user.cpp:91:1: error: expected ‘)’ at end of input
}
^
user.cpp:91:1: error: expected statement at end of input
user.cpp:45:9: warning: unused variable ‘d’ [-Wunused-variable]
int d=2, s=1;
^
user.cpp:45:14: warning: unused variable ‘s’ [-Wunused-variable]
int d=2, s=1;
^
user.cpp:46:15: warning: unused variable ‘p’ [-Wunused-variable]
long long p;
^
user.cpp:91:1: error: expected ‘}’ at end of input
}
^
user.cpp:91:1: warning: no return statement in function returning non-void [-Wreturn-type]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !