Pagini recente » Borderou de evaluare (job #145172) | Borderou de evaluare (job #1853026) | Borderou de evaluare (job #221139) | Borderou de evaluare (job #3226709) | Borderou de evaluare (job #1407662)
Borderou de evaluare (job #1407662)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolva_problema()’:
user.cpp:6:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:10:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &x);
^
user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf", &v);
^
user.cpp: In function ‘int main()’:
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mafia.in", "r", stdin);
^
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mafia.out", "w", stdout);
^
user.cpp: In function ‘void rezolva_problema()’:
user.cpp:18:21: warning: ‘V’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rez=prod/sum;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 380ms | 304kb | Incorect | 0 |
Punctaj total | 0 |