Borderou de evaluare (job #1521213)
Utilizator | Data | 10 noiembrie 2015 00:33:04 | |
---|---|---|---|
Problema | Numere Prime | 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:16:14: error: lvalue required as increment operand
if (ok) a++; if (a == k) break;
^
user.cpp:16:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (ok) a++; if (a == k) break;
^
user.cpp:8:7: warning: unused variable ‘z’ [-Wunused-variable]
int z = 0, ok; long long i, k, j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !