Pagini recente » Borderou de evaluare (job #1925224) | Borderou de evaluare (job #122247) | Borderou de evaluare (job #1344550) | Borderou de evaluare (job #1633837) | Borderou de evaluare (job #2238879)
Borderou de evaluare (job #2238879)
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:108: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:109: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:110: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 | 412ms | 7436kb | Incorect | 0 |
Punctaj total | 0 |