Borderou de evaluare (job #2256003)
Utilizator | Data | 7 octombrie 2018 20:09:58 | |
---|---|---|---|
Problema | Fetite | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:20:45: warning: integer constant is so large that it is unsigned
4611686018427387904, 9223372036854775808};
^~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:37:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[i] > N)
~~~~~^~~
user.cpp:73:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(PMica == N)
~~~~~~^~~~
user.cpp:84:22: error: ‘i’ was not declared in this scope
Petala = i;
^
user.cpp:86:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(PMare == N)
~~~~~~^~~~
user.cpp:33:53: warning: unused variable ‘NFals’ [-Wunused-variable]
unsigned long long PMica, PMare, Start, Petala, NFals;
^~~~~
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fetite.in", "r", stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fetite.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !