Pagini recente » Borderou de evaluare (job #647040) | Borderou de evaluare (job #1452039) | Borderou de evaluare (job #1718024) | Borderou de evaluare (job #238525) | Borderou de evaluare (job #1393855)
Borderou de evaluare (job #1393855)
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 | 400kb | OK | 10 |
2 | 0ms | 400kb | OK | 10 |
3 | 0ms | 404kb | Incorect | 0 |
4 | 0ms | 408kb | Incorect | 0 |
5 | 0ms | 416kb | Incorect | 0 |
6 | 0ms | 664kb | Incorect | 0 |
7 | 4ms | 580kb | Incorect | 0 |
8 | 32ms | 3576kb | Incorect | 0 |
9 | 28ms | 5140kb | Incorect | 0 |
10 | 32ms | 3824kb | Incorect | 0 |
Punctaj total | 20 |