Borderou de evaluare (job #1002935)
Utilizator | Data | 29 septembrie 2013 12:20:08 | |
---|---|---|---|
Problema | Numere 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:5: error: ‘N’ was not declared in this scope
N = min(n * n, 500000)
^
user.cpp:32:5: error: expected ‘;’ before ‘for’
for(int i = 1; i <= N; ++i)
^
user.cpp:32:20: error: ‘i’ was not declared in this scope
for(int i = 1; i <= N; ++i)
^
user.cpp:32:31: error: expected ‘;’ before ‘)’ token
for(int i = 1; i <= N; ++i)
^
user.cpp:26:16: warning: unused variable ‘ok’ [-Wunused-variable]
int x = 0, ok = 0, a = 0, b = 0;
^
user.cpp:26:24: warning: unused variable ‘a’ [-Wunused-variable]
int x = 0, ok = 0, a = 0, b = 0;
^
user.cpp:26:31: warning: unused variable ‘b’ [-Wunused-variable]
int x = 0, ok = 0, a = 0, b = 0;
^
user.cpp:42:1: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !