Pagini recente » Borderou de evaluare (job #2980725) | Borderou de evaluare (job #2746807) | Borderou de evaluare (job #14390) | Borderou de evaluare (job #428493) | Borderou de evaluare (job #1393856)
Borderou de evaluare (job #1393856)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%s",&a);
^
user.cpp:19:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(!st.empty()&&st.top() < x && y + st.size() >= m)
^
user.cpp:25:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t[t[0]--]=(st.top()+'0');
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in","r",stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out","w",stdout);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 412kb | OK | 10 |
| 2 | 0ms | 412kb | OK | 10 |
| 3 | 0ms | 416kb | Incorect | 0 |
| 4 | 0ms | 416kb | Incorect | 0 |
| 5 | 0ms | 420kb | Incorect | 0 |
| 6 | 0ms | 672kb | Incorect | 0 |
| 7 | 4ms | 584kb | Incorect | 0 |
| 8 | 32ms | 3576kb | Incorect | 0 |
| 9 | 28ms | 5140kb | Incorect | 0 |
| 10 | 32ms | 3832kb | Incorect | 0 |
| Punctaj total | 20 |