Borderou de evaluare (job #706644)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 mar. 2023 22:58:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:27: warning: integer constant is too large for its type
10 | long long a,nrdiv,d,p=100000000000000000000000;
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:13: error: 'n' was not declared in this scope
12 | while(p>n){
| ^
main.cpp:16:22: error: 'n' was not declared in this scope
16 | for(d=1; d<=sqrt(n); d++){
| ^
main.cpp:16:17: error: 'sqrt' was not declared in this scope
16 | for(d=1; d<=sqrt(n); d++){
| ^~~~