Pagini recente » Borderou de evaluare (job #418367) | Borderou de evaluare (job #1553405) | Borderou de evaluare (job #422396) | Borderou de evaluare (job #2715122) | Borderou de evaluare (job #1735775)
Borderou de evaluare (job #1735775)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
coefficient[dp[i]]++;
^
user.cpp:53:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
coefficient[dp[i]]--;
^
user.cpp:49:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(ok[i]==true)
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("afacere.in","r",stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("afacere.out","w",stdout);
^
user.cpp:15:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&l,&nr);
^
user.cpp:17:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",word[i]+1);
^
user.cpp:55:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 4ms | 432kb | OK | 10 |
3 | 8ms | 440kb | OK | 10 |
4 | 12ms | 448kb | OK | 10 |
5 | 312ms | 3936kb | OK | 10 |
6 | 492ms | 4056kb | OK | 10 |
7 | 476ms | 3452kb | OK | 10 |
8 | 760ms | 4368kb | OK | 10 |
9 | 788ms | 4416kb | OK | 10 |
10 | 772ms | 4412kb | OK | 10 |
Punctaj total | 100 |