Pagini recente » Borderou de evaluare (job #1672280) | Borderou de evaluare (job #1242151) | Borderou de evaluare (job #1559205) | Borderou de evaluare (job #1429993) | Borderou de evaluare (job #1550080)
Borderou de evaluare (job #1550080)
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 | 264kb | OK | 10 | 10 |
3 | 0ms | 376kb | OK | 10 | 10 |
4 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |