Borderou de evaluare (job #1958161)
Utilizator | Data | 8 aprilie 2017 04:46:17 | |
---|---|---|---|
Problema | Next | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:249:12: error: prototype for ‘int Huge::operator%(long long int)’ does not match any in class ‘Huge’
inline int Huge :: operator % (long long B){
^
user.cpp:45:23: error: candidate is: long long int Huge::operator%(long long int)
inline long long operator % (long long B);
^
user.cpp:45:23: warning: inline function ‘long long int Huge::operator%(long long int)’ used but never defined [enabled by default]
user.cpp: In function ‘int main()’:
user.cpp:337:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in", "r", stdin);
^
user.cpp:338:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out", "w", stdout);
^
user.cpp:340:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", numberN);
^
user.cpp:341:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &D);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !