Borderou de evaluare (job #1393851)

Utilizator andreey_047Andrei Maxim andreey_047 Data 19 martie 2015 19:56:17
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=] scanf("%s",&a); ^ user.cpp:17:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(!st.empty()&&st.top() < x && y + st.size() >= m) ^ user.cpp:10: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:11: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:12: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:13: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
10ms296kbOK10
20ms296kbOK10
30ms296kbOK10
40ms296kbOK10
50ms300kbOK10
68ms692kbOK10
74ms536kbOK10
8Depăşit5320kbTime limit exceeded.0
9Depăşit8612kbTime limit exceeded.0
10Depăşit5568kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?