Pagini recente » Borderou de evaluare (job #361254) | Borderou de evaluare (job #1029200) | Borderou de evaluare (job #2202607) | Borderou de evaluare (job #2936173) | Borderou de evaluare (job #1337655)
Borderou de evaluare (job #1337655)
Raport evaluator
Compilare:
user.cpp: In function ‘void ecuatie(char*, int&, int&)’:
user.cpp:26:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(s[i]=='x')
^
user.cpp:8:25: warning: unused variable ‘j’ [-Wunused-variable]
int i,n,nr=0,semn=1,j;
^
user.cpp: In function ‘int main()’:
user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ecuatii2.in","r",stdin);
^
user.cpp:48:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ecuatii2.out","w",stdout);
^
user.cpp:50:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&T);
^
user.cpp:53:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",e);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK! | 10 |
| 2 | 0ms | 280kb | OK! | 10 |
| 3 | 0ms | 292kb | OK! | 10 |
| 4 | 0ms | 288kb | OK! | 10 |
| 5 | 0ms | 288kb | OK! | 10 |
| 6 | 0ms | 284kb | OK! | 10 |
| 7 | 0ms | 288kb | OK! | 10 |
| 8 | 0ms | 284kb | OK! | 10 |
| 9 | 0ms | 292kb | OK! | 10 |
| 10 | 0ms | 248kb | OK! | 10 |
| Punctaj total | 100 |