Pagini recente » Borderou de evaluare (job #95062) | Borderou de evaluare (job #1226464) | Borderou de evaluare (job #1678961) | Borderou de evaluare (job #527889) | Borderou de evaluare (job #1653939)
Borderou de evaluare (job #1653939)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(impar!=unu%2)
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.out","w",stdout);
^
user.cpp:13:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
user.cpp:30:22: warning: ‘putere’ may be used uninitialized in this function [-Wmaybe-uninitialized]
putere/=2;
^
user.cpp:28:31: warning: ‘cuvant’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cuvant+=putere;
^
user.cpp:27:22: warning: ‘unu’ may be used uninitialized in this function [-Wmaybe-uninitialized]
unu++;
^
user.cpp:33:17: warning: ‘impar’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(impar!=unu%2)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 256kb | OK | 10 | 30 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 | 40 |
5 | 0ms | 276kb | OK | 10 |
6 | 4ms | 756kb | OK | 10 |
7 | 8ms | 948kb | OK | 10 |
8 | 8ms | 748kb | OK | 10 | 30 |
9 | 12ms | 940kb | OK | 10 |
10 | 0ms | 252kb | OK | 10 |
Punctaj total | 100 |