Pagini recente » Borderou de evaluare (job #1845377) | Borderou de evaluare (job #96621) | Borderou de evaluare (job #516907) | Borderou de evaluare (job #1954486) | Borderou de evaluare (job #1550084)
Borderou de evaluare (job #1550084)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (op==3) if (trebuie_adaugat(x)==1) printf("0\n"); else printf("1\n");
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in","r",stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out","w",stdout);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:29:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&op,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 0ms | 268kb | OK | 10 | 10 |
3 | 0ms | 364kb | OK | 10 | 10 |
4 | 48ms | 396kb | OK | 10 | 30 |
5 | 64ms | 3256kb | OK | 10 |
6 | 76ms | 1328kb | OK | 10 |
7 | 188ms | 3652kb | OK | 10 | 10 |
8 | 308ms | 5992kb | OK | 10 | 30 |
9 | 660ms | 8060kb | OK | 10 |
10 | 644ms | 6768kb | OK | 10 |
Punctaj total | 100 |