Pagini recente » Borderou de evaluare (job #2874435) | Borderou de evaluare (job #2015444) | Borderou de evaluare (job #1523287) | Borderou de evaluare (job #2025268) | Borderou de evaluare (job #2039724)
Borderou de evaluare (job #2039724)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:32:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (s[i]=='*')
^
user.cpp:34:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (s[i]=='E')
^
user.cpp:23:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); stiva[0]=0;
^
user.cpp: In function ‘int main()’:
user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("editor.in","r",stdin);
^
user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("editor.out","w",stdout);
^
user.cpp:42:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/ccp8GUwK.o: In function `solve()':
user.cpp:(.text+0xf4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 10 | 40 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 8ms | 312kb | OK | 10 | 10 |
6 | 8ms | 348kb | OK | 10 | 10 |
7 | 16ms | 432kb | OK | 10 | 10 |
8 | 32ms | 452kb | OK | 10 | 10 |
9 | 24ms | 416kb | OK | 10 | 10 |
10 | 44ms | 556kb | OK | 10 | 10 |
Punctaj total | 100 |