Pagini recente » Borderou de evaluare (job #2696508) | Borderou de evaluare (job #1813929) | Borderou de evaluare (job #1376132) | Borderou de evaluare (job #898272) | Borderou de evaluare (job #1421050)
Borderou de evaluare (job #1421050)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve()’:
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.in", "r", stdin);
^
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produs4.out", "w", stdout);
^
user.cpp:34:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nTeste);
^
user.cpp: In function ‘int solve()’:
user.cpp:23:5: warning: ‘nPozitive’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!nPozitive)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 128ms | 376kb | Incorect | 0 |
Punctaj total | 0 |