Borderou de evaluare (job #1393849)

Utilizator andreey_047Andrei Maxim andreey_047 Data 19 martie 2015 19:55:43
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:14: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:11: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:12: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:13: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:14: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
10ms460kbOK10
20ms460kbOK10
30ms468kbOK10
40ms472kbOK10
50ms464kbOK10
68ms868kbOK10
74ms704kbOK10
8Depăşit5500kbTime limit exceeded.0
9Depăşit8788kbTime limit exceeded.0
10Depăşit5744kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?