Pagini recente » Borderou de evaluare (job #1198522) | Borderou de evaluare (job #3280467) | Borderou de evaluare (job #352195) | Borderou de evaluare (job #363145) | Borderou de evaluare (job #2238880)
Borderou de evaluare (job #2238880)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool ceva::operator/=(const long double&)’:
user.cpp:25:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void citire()’:
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x); viza[x]++; if(maxa< x) maxa=x;
^
user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x); vizb[x]++; if(maxb< x) maxb=x;
^
user.cpp: In function ‘int main()’:
user.cpp:105:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("bacterii2.in","r",stdin);
^
user.cpp:106:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("bacterii2.out","w", stdout);
^
user.cpp:107:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrt);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 440ms | 12080kb | Incorect | 0 |
Punctaj total | 0 |